aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/gnunet-peerinfo-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo/gnunet-peerinfo-gtk.c')
-rw-r--r--src/peerinfo/gnunet-peerinfo-gtk.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c b/src/peerinfo/gnunet-peerinfo-gtk.c
index f5a3f6f2..5733ae09 100644
--- a/src/peerinfo/gnunet-peerinfo-gtk.c
+++ b/src/peerinfo/gnunet-peerinfo-gtk.c
@@ -499,11 +499,9 @@ free_paths (void *cts,
499 * Task run on shutdown. 499 * Task run on shutdown.
500 * 500 *
501 * @param cts unused 501 * @param cts unused
502 * @param tc scheduler context, unused
503 */ 502 */
504static void 503static void
505shutdown_task (void *cts, 504shutdown_task (void *cts)
506 const struct GNUNET_SCHEDULER_TaskContext *tc)
507{ 505{
508 GNUNET_GTK_tray_icon_destroy (); 506 GNUNET_GTK_tray_icon_destroy ();
509 GNUNET_GTK_main_loop_quit (ml); 507 GNUNET_GTK_main_loop_quit (ml);
@@ -1570,12 +1568,10 @@ query_tooltip_cb (GtkWidget *widget,
1570 * Actual main function run right after GNUnet's scheduler 1568 * Actual main function run right after GNUnet's scheduler
1571 * is initialized. Initializes up GTK and Glade. 1569 * is initialized. Initializes up GTK and Glade.
1572 * 1570 *
1573 * @param cts NULL 1571 * @param cts the main loop context
1574 * @param tc schedule context
1575 */ 1572 */
1576static void 1573static void
1577run (void *cts, 1574run (void *cts)
1578 const struct GNUNET_SCHEDULER_TaskContext *tc)
1579{ 1575{
1580 GtkWidget *main_window; 1576 GtkWidget *main_window;
1581 GtkTreeView *tv; 1577 GtkTreeView *tv;