aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_event-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_event-handler.c')
-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