aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-17 06:50:45 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-17 06:50:45 +0000
commit44d27e21d0a6aeb28169dfad686c65c3ee730e0b (patch)
tree1ccecb09e0ca52fa866171a1870b4d14dd2b8ab7 /src/fs/gnunet-fs-gtk.c
parent406fdbcea181a64fc0e00fabd72313b58bc27569 (diff)
downloadgnunet-gtk-44d27e21d0a6aeb28169dfad686c65c3ee730e0b.tar.gz
gnunet-gtk-44d27e21d0a6aeb28169dfad686c65c3ee730e0b.zip
-fixing shutdown issues from #2217
Diffstat (limited to 'src/fs/gnunet-fs-gtk.c')
-rw-r--r--src/fs/gnunet-fs-gtk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c
index b34f0f03..165492fd 100644
--- a/src/fs/gnunet-fs-gtk.c
+++ b/src/fs/gnunet-fs-gtk.c
@@ -199,13 +199,14 @@ GNUNET_FS_GTK_main_window_size_request (GtkWidget *main_window,
199 */ 199 */
200static void 200static void
201shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 201shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
202{ 202{
203 GNUNET_GTK_main_loop_quit (ml); 203 GNUNET_GTK_main_loop_quit (ml);
204 if (fs != NULL) 204 if (fs != NULL)
205 { 205 {
206 GNUNET_FS_stop (fs); 206 GNUNET_FS_stop (fs);
207 fs = NULL; 207 fs = NULL;
208 } 208 }
209 GNUNET_FS_GTK_close_uri_tab_ ();
209} 210}
210 211
211 212