aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-11 11:01:54 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-11 11:01:54 +0000
commit79f2d44eaeddce479082ade8ddbc9eb00a984cba (patch)
treebc48d8bbce7c2fd36e0112ccba8f17ebb549044d
parente1a43d7a2371d3dd461a9b4ee16f020753455ed0 (diff)
downloadgnunet-gtk-79f2d44eaeddce479082ade8ddbc9eb00a984cba.tar.gz
gnunet-gtk-79f2d44eaeddce479082ade8ddbc9eb00a984cba.zip
-LRN: remove deprecated frame_event handler
-rw-r--r--contrib/gnunet_fs_gtk_about_window.glade.in1
-rw-r--r--src/lib/about.c17
2 files changed, 0 insertions, 18 deletions
diff --git a/contrib/gnunet_fs_gtk_about_window.glade.in b/contrib/gnunet_fs_gtk_about_window.glade.in
index 2091a859..880fddb4 100644
--- a/contrib/gnunet_fs_gtk_about_window.glade.in
+++ b/contrib/gnunet_fs_gtk_about_window.glade.in
@@ -6,7 +6,6 @@
6 <property name="can_focus">False</property> 6 <property name="can_focus">False</property>
7 <property name="modal">True</property> 7 <property name="modal">True</property>
8 <property name="destroy_with_parent">True</property> 8 <property name="destroy_with_parent">True</property>
9 <signal name="frame-event" handler="GNUNET_GTK_about_window_got_frame_event" swapped="no"/>
10 <signal name="realize" handler="GNUNET_GTK_about_window_realized" swapped="no"/> 9 <signal name="realize" handler="GNUNET_GTK_about_window_realized" swapped="no"/>
11 <signal name="delete-event" handler="GNUNET_GTK_about_window_got_delete_event" swapped="no"/> 10 <signal name="delete-event" handler="GNUNET_GTK_about_window_got_delete_event" swapped="no"/>
12 <child> 11 <child>
diff --git a/src/lib/about.c b/src/lib/about.c
index 986e76c0..7b7f27ee 100644
--- a/src/lib/about.c
+++ b/src/lib/about.c
@@ -64,23 +64,6 @@ about_window_show_exclusively (GtkBuilder *builder, gchar *name)
64 } 64 }
65} 65}
66 66
67G_MODULE_EXPORT gboolean
68GNUNET_GTK_about_window_got_frame_event (GtkWindow *window, GdkEvent *event,
69 gpointer user_data)
70{
71 GtkBuilder *builder = GTK_BUILDER (user_data);
72
73 switch (event->type)
74 {
75 case GDK_DELETE:
76 destroy_about_dialog (builder);
77 return TRUE;
78 break;
79 default:
80 return FALSE;
81 }
82}
83
84G_MODULE_EXPORT void 67G_MODULE_EXPORT void
85GNUNET_GTK_about_window_realized (GtkWidget *widget, gpointer user_data) 68GNUNET_GTK_about_window_realized (GtkWidget *widget, gpointer user_data)
86{ 69{