diff options
Diffstat (limited to 'src/peerinfo/gnunet-peerinfo-gtk.c')
-rw-r--r-- | src/peerinfo/gnunet-peerinfo-gtk.c | 10 |
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 | */ |
504 | static void | 503 | static void |
505 | shutdown_task (void *cts, | 504 | shutdown_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 | */ |
1576 | static void | 1573 | static void |
1577 | run (void *cts, | 1574 | run (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; |