aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-04 21:28:49 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-04 21:28:49 +0000
commit0795dd6cae6afd57ebd73b12888ebc5a7ead41cc (patch)
treee3683176d7b263ed34ede6852e3cdd9618c67ae2
parent36ccadb98b92786dc65af4294851ed538d7166e5 (diff)
downloadgnunet-gtk-0795dd6cae6afd57ebd73b12888ebc5a7ead41cc.tar.gz
gnunet-gtk-0795dd6cae6afd57ebd73b12888ebc5a7ead41cc.zip
-we just closed the entire tab, makes no sense to now hide its buttons (use-after-free)
-rw-r--r--src/fs/gnunet-fs-gtk_event-handler.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c
index 1535f18d..61373011 100644
--- a/src/fs/gnunet-fs-gtk_event-handler.c
+++ b/src/fs/gnunet-fs-gtk_event-handler.c
@@ -988,9 +988,6 @@ GNUNET_FS_GTK_search_result_close_button_clicked (GtkButton *button, gpointer us
988 } 988 }
989 tab->sc = NULL; 989 tab->sc = NULL;
990 GNUNET_FS_search_stop (sc); 990 GNUNET_FS_search_stop (sc);
991 gtk_widget_hide (GTK_WIDGET (button));
992 gtk_widget_hide (tab->pause_button);
993 gtk_widget_hide (tab->play_button);
994} 991}
995 992
996 993