aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-11 11:01:18 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-11 11:01:18 +0000
commite1a43d7a2371d3dd461a9b4ee16f020753455ed0 (patch)
treea0c313f87494bc95710a756ef66de0ee339be3cb
parent6ac16595e8495d49c95a0b89132de38b21c2c441 (diff)
downloadgnunet-gtk-e1a43d7a2371d3dd461a9b4ee16f020753455ed0.tar.gz
gnunet-gtk-e1a43d7a2371d3dd461a9b4ee16f020753455ed0.zip
-LRN: remove unused destroy handler
-rw-r--r--contrib/gnunet_fs_gtk_about_window.glade.in1
-rw-r--r--src/lib/about.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/contrib/gnunet_fs_gtk_about_window.glade.in b/contrib/gnunet_fs_gtk_about_window.glade.in
index f214ca91..2091a859 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="destroy-event" handler="GNUNET_GTK_about_window_got_destroy_event" swapped="no"/>
10 <signal name="frame-event" handler="GNUNET_GTK_about_window_got_frame_event" swapped="no"/> 9 <signal name="frame-event" handler="GNUNET_GTK_about_window_got_frame_event" swapped="no"/>
11 <signal name="realize" handler="GNUNET_GTK_about_window_realized" swapped="no"/> 10 <signal name="realize" handler="GNUNET_GTK_about_window_realized" swapped="no"/>
12 <signal name="delete-event" handler="GNUNET_GTK_about_window_got_delete_event" swapped="no"/> 11 <signal name="delete-event" handler="GNUNET_GTK_about_window_got_delete_event" swapped="no"/>
diff --git a/src/lib/about.c b/src/lib/about.c
index a41f6d0e..986e76c0 100644
--- a/src/lib/about.c
+++ b/src/lib/about.c
@@ -112,15 +112,6 @@ GNUNET_GTK_about_window_got_delete_event (GtkWidget *widget, GdkEvent *event,
112 return FALSE; 112 return FALSE;
113} 113}
114 114
115G_MODULE_EXPORT gboolean
116GNUNET_GTK_about_window_got_destroy_event (GtkWidget *widget, GdkEvent *event,
117 gpointer user_data)
118{
119 GtkBuilder *builder = GTK_BUILDER (user_data);
120 destroy_about_dialog (builder);
121 return FALSE;
122}
123
124G_MODULE_EXPORT void 115G_MODULE_EXPORT void
125GNUNET_GTK_about_credits_button_clicked (GtkButton *widget, gpointer user_data) 116GNUNET_GTK_about_credits_button_clicked (GtkButton *widget, gpointer user_data)
126{ 117{