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.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c
index 826ff173..4c41191f 100644
--- a/src/fs/gnunet-fs-gtk-event_handler.c
+++ b/src/fs/gnunet-fs-gtk-event_handler.c
@@ -451,7 +451,7 @@ delete_stale_subtree (GtkTreeModel * model, GtkTreeIter * iter)
451 451
452 452
453/** 453/**
454 * Handle the case where an active download lost its 454 * Handle the case where an active download lost its
455 * search parent by moving it to the URI tab. 455 * search parent by moving it to the URI tab.
456 */ 456 */
457static struct DownloadEntry * 457static struct DownloadEntry *
@@ -748,8 +748,8 @@ search_list_on_menu (GtkWidget * widget, GdkEvent * event, gpointer user_data)
748 * - view full meta data (in new window) 748 * - view full meta data (in new window)
749 * - copy URI to clipboard 749 * - copy URI to clipboard
750 * - start recursive download 750 * - start recursive download
751 * - abort active download (!) 751 * - abort active download (!)
752 * => need to know download status before creating menu! 752 * => need to know download status before creating menu!
753 */ 753 */
754 menu = GTK_MENU (gtk_menu_new ()); 754 menu = GTK_MENU (gtk_menu_new ());
755 if (sr->download == NULL) 755 if (sr->download == NULL)
@@ -977,7 +977,7 @@ stop_search (GtkButton * button, gpointer user_data)
977 * Stop completed downloads (or those that failed). Should 977 * Stop completed downloads (or those that failed). Should
978 * iterate over the underlying tree store and stop all 978 * iterate over the underlying tree store and stop all
979 * completed entries. Furthermore, if the resulting tree 979 * completed entries. Furthermore, if the resulting tree
980 * store is empty and has no search associated with it, 980 * store is empty and has no search associated with it,
981 * the tab should be closed. 981 * the tab should be closed.
982 */ 982 */
983static void 983static void
@@ -1331,7 +1331,7 @@ process_search_result (void *cls, struct SearchResult *parent,
1331 * the URI tab first. 1331 * the URI tab first.
1332 * 1332 *
1333 * @param iter set to the new entry 1333 * @param iter set to the new entry
1334 * @param srp set to search result 1334 * @param srp set to search result
1335 * @param meta metadata for the new entry 1335 * @param meta metadata for the new entry
1336 * @param uri URI for the new entry 1336 * @param uri URI for the new entry
1337 * @return NULL on error, otherwise tree store matching iter 1337 * @return NULL on error, otherwise tree store matching iter
@@ -1493,11 +1493,11 @@ free_search_result (struct SearchResult *sr)
1493 tm = gtk_tree_row_reference_get_model (sr->rr); 1493 tm = gtk_tree_row_reference_get_model (sr->rr);
1494 GNUNET_assert (tm != NULL); 1494 GNUNET_assert (tm != NULL);
1495 if (TRUE != gtk_tree_model_get_iter (tm, &iter, tp)) 1495 if (TRUE != gtk_tree_model_get_iter (tm, &iter, tp))
1496 { 1496 {
1497 GNUNET_break (0); 1497 GNUNET_break (0);
1498 gtk_tree_path_free (tp); 1498 gtk_tree_path_free (tp);
1499 return; 1499 return;
1500 } 1500 }
1501 gtk_tree_path_free (tp); 1501 gtk_tree_path_free (tp);
1502 gtk_tree_model_get (tm, &iter, 0, &meta, 1, &uri, -1); 1502 gtk_tree_model_get (tm, &iter, 0, &meta, 1, &uri, -1);
1503 if (uri != NULL) 1503 if (uri != NULL)
@@ -1621,9 +1621,9 @@ setup_publish (struct GNUNET_FS_PublishContext *pc, const char *fn,
1621 1621
1622 1622
1623/** 1623/**
1624 * Notification of FS to a client about the progress of an 1624 * Notification of FS to a client about the progress of an
1625 * operation. Callbacks of this type will be used for uploads, 1625 * operation. Callbacks of this type will be used for uploads,
1626 * downloads and searches. Some of the arguments depend a bit 1626 * downloads and searches. Some of the arguments depend a bit
1627 * in their meaning on the context in which the callback is used. 1627 * in their meaning on the context in which the callback is used.
1628 * 1628 *
1629 * @param cls closure 1629 * @param cls closure