aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-18 21:18:23 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-18 21:18:23 +0000
commit8e50ba64bdfef267b5b747c57de537156a839f66 (patch)
treee6bbc4e2ac4aabb074be054a26ac6075383d0235
parentee9eb1867faf9396b37f1025800089debe929814 (diff)
downloadgnunet-gtk-8e50ba64bdfef267b5b747c57de537156a839f66.tar.gz
gnunet-gtk-8e50ba64bdfef267b5b747c57de537156a839f66.zip
-fix
-rw-r--r--src/fs/gnunet-fs-gtk_event-handler.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c
index 2ac03659..222a3f66 100644
--- a/src/fs/gnunet-fs-gtk_event-handler.c
+++ b/src/fs/gnunet-fs-gtk_event-handler.c
@@ -2466,14 +2466,10 @@ GNUNET_FS_GTK_publish_label_close_button_clicked (GtkButton * button,
2466 GNUNET_assert (tab == publish_tab); 2466 GNUNET_assert (tab == publish_tab);
2467 /* stop all active operations */ 2467 /* stop all active operations */
2468 tm = GTK_TREE_MODEL (publish_tab->ts); 2468 tm = GTK_TREE_MODEL (publish_tab->ts);
2469 if (gtk_tree_model_iter_children (tm, &iter, NULL)) 2469 while (gtk_tree_model_iter_children (tm, &iter, NULL))
2470 { 2470 {
2471 do 2471 gtk_tree_model_get (tm, &iter, 4, &pe, -1);
2472 { 2472 GNUNET_FS_publish_stop (pe->pc);
2473 gtk_tree_model_get (tm, &iter, 4, &pe, -1);
2474 GNUNET_FS_publish_stop (pe->pc);
2475 }
2476 while (TRUE == gtk_tree_model_iter_next (tm, &iter));
2477 } 2473 }
2478 clear_metadata_display (); 2474 clear_metadata_display ();
2479 2475