[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19849 - gnunet-gtk/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19849 - gnunet-gtk/src/fs |
Date: |
Sat, 18 Feb 2012 22:18:23 +0100 |
Author: grothoff
Date: 2012-02-18 22:18:23 +0100 (Sat, 18 Feb 2012)
New Revision: 19849
Modified:
gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c
Log:
-fix
Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c 2012-02-18 19:18:44 UTC
(rev 19848)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c 2012-02-18 21:18:23 UTC
(rev 19849)
@@ -2466,14 +2466,10 @@
GNUNET_assert (tab == publish_tab);
/* stop all active operations */
tm = GTK_TREE_MODEL (publish_tab->ts);
- if (gtk_tree_model_iter_children (tm, &iter, NULL))
+ while (gtk_tree_model_iter_children (tm, &iter, NULL))
{
- do
- {
- gtk_tree_model_get (tm, &iter, 4, &pe, -1);
- GNUNET_FS_publish_stop (pe->pc);
- }
- while (TRUE == gtk_tree_model_iter_next (tm, &iter));
+ gtk_tree_model_get (tm, &iter, 4, &pe, -1);
+ GNUNET_FS_publish_stop (pe->pc);
}
clear_metadata_display ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19849 - gnunet-gtk/src/fs,
gnunet <=