diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-01 20:01:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-01 20:01:53 +0000 |
commit | c50cbc0aa076aa4b61e346855a4a028807cd8fc2 (patch) | |
tree | 11c6b65ccd2bcdeb355ae445d0211de7a8727181 | |
parent | 32ac4ac0fe52d7932404fbc751b56b977e805658 (diff) | |
download | gnunet-gtk-c50cbc0aa076aa4b61e346855a4a028807cd8fc2.tar.gz gnunet-gtk-c50cbc0aa076aa4b61e346855a4a028807cd8fc2.zip |
-LRN: fix signal handler prototypes
-rw-r--r-- | src/fs/gnunet-fs-gtk-event_handler.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c index e98ff375..f5eef201 100644 --- a/src/fs/gnunet-fs-gtk-event_handler.c +++ b/src/fs/gnunet-fs-gtk-event_handler.c | |||
@@ -758,7 +758,7 @@ static struct SearchTab *current_context_search_tab; | |||
758 | * "Download" was selected in the current search context menu. | 758 | * "Download" was selected in the current search context menu. |
759 | */ | 759 | */ |
760 | static void | 760 | static void |
761 | start_download_ctx_menu (gpointer user_data, guint unused, GtkWidget * widget) | 761 | start_download_ctx_menu (GtkMenuItem *item, gpointer user_data) |
762 | { | 762 | { |
763 | GtkTreePath *path; | 763 | GtkTreePath *path; |
764 | GtkTreeView *tv; | 764 | GtkTreeView *tv; |
@@ -783,7 +783,7 @@ start_download_ctx_menu (gpointer user_data, guint unused, GtkWidget * widget) | |||
783 | * "Download recursively" was selected in the current search context menu. | 783 | * "Download recursively" was selected in the current search context menu. |
784 | */ | 784 | */ |
785 | static void | 785 | static void |
786 | start_download_recursively_ctx_menu (gpointer user_data, guint unused, GtkWidget * widget) | 786 | start_download_recursively_ctx_menu (GtkMenuItem *item, gpointer user_data) |
787 | { | 787 | { |
788 | GtkTreePath *path; | 788 | GtkTreePath *path; |
789 | GtkTreeView *tv; | 789 | GtkTreeView *tv; |
@@ -809,7 +809,7 @@ start_download_recursively_ctx_menu (gpointer user_data, guint unused, GtkWidget | |||
809 | * Download was selected in the current search context menu. | 809 | * Download was selected in the current search context menu. |
810 | */ | 810 | */ |
811 | static void | 811 | static void |
812 | abort_download_ctx_menu (gpointer user_data, guint unused, GtkWidget * widget) | 812 | abort_download_ctx_menu (GtkMenuItem *item, gpointer user_data) |
813 | { | 813 | { |
814 | struct DownloadEntry *de = user_data; | 814 | struct DownloadEntry *de = user_data; |
815 | 815 | ||
@@ -826,8 +826,7 @@ abort_download_ctx_menu (gpointer user_data, guint unused, GtkWidget * widget) | |||
826 | * Copy current URI to clipboard. | 826 | * Copy current URI to clipboard. |
827 | */ | 827 | */ |
828 | static void | 828 | static void |
829 | copy_uri_to_clipboard_ctx_menu (gpointer user_data, guint unused, | 829 | copy_uri_to_clipboard_ctx_menu (GtkMenuItem *item, gpointer user_data) |
830 | GtkWidget * widget) | ||
831 | { | 830 | { |
832 | GtkTreePath *path; | 831 | GtkTreePath *path; |
833 | GtkTreeView *tv; | 832 | GtkTreeView *tv; |