diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-02 07:57:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-02 07:57:38 +0000 |
commit | 43cf75dba32281c2a99d1204824bf07bffb116c8 (patch) | |
tree | 02f6f133461f35b3533121aa50bd3b6a7e2bfbc6 | |
parent | 9ce4c70c81f975f44698506c17747d23ac0ef69a (diff) | |
download | gnunet-gtk-43cf75dba32281c2a99d1204824bf07bffb116c8.tar.gz gnunet-gtk-43cf75dba32281c2a99d1204824bf07bffb116c8.zip |
-LRN: fix declaration order
-rw-r--r-- | src/fs/gnunet-fs-gtk-event_handler.c | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c index b420c81b..26790f01 100644 --- a/src/fs/gnunet-fs-gtk-event_handler.c +++ b/src/fs/gnunet-fs-gtk-event_handler.c | |||
@@ -113,6 +113,28 @@ struct StartDownloadContext | |||
113 | 113 | ||
114 | static struct PublishTab *publish_tab; | 114 | static struct PublishTab *publish_tab; |
115 | 115 | ||
116 | /** | ||
117 | * Row reference for the current search context menu. | ||
118 | */ | ||
119 | static GtkTreeRowReference *current_context_row_reference; | ||
120 | |||
121 | /** | ||
122 | * Search tab used for the current search context menu. | ||
123 | */ | ||
124 | static struct SearchTab *current_context_search_tab; | ||
125 | |||
126 | static void | ||
127 | start_download_ctx_menu (GtkMenuItem *item, gpointer user_data); | ||
128 | |||
129 | static void | ||
130 | start_download_recursively_ctx_menu (GtkMenuItem *item, gpointer user_data); | ||
131 | |||
132 | static void | ||
133 | abort_download_ctx_menu (GtkMenuItem *item, gpointer user_data); | ||
134 | |||
135 | static void | ||
136 | copy_uri_to_clipboard_ctx_menu (GtkMenuItem *item, gpointer user_data); | ||
137 | |||
116 | static gboolean | 138 | static gboolean |
117 | search_list_popup (GtkTreeView *tv, struct SearchTab *tab, GdkEventButton *event_button) | 139 | search_list_popup (GtkTreeView *tv, struct SearchTab *tab, GdkEventButton *event_button) |
118 | { | 140 | { |
@@ -887,16 +909,6 @@ start_download (GtkTreeView * tree_view, GtkTreePath * path, | |||
887 | 909 | ||
888 | 910 | ||
889 | /** | 911 | /** |
890 | * Row reference for the current search context menu. | ||
891 | */ | ||
892 | static GtkTreeRowReference *current_context_row_reference; | ||
893 | |||
894 | /** | ||
895 | * Search tab used for the current search context menu. | ||
896 | */ | ||
897 | static struct SearchTab *current_context_search_tab; | ||
898 | |||
899 | /** | ||
900 | * "Download" was selected in the current search context menu. | 912 | * "Download" was selected in the current search context menu. |
901 | */ | 913 | */ |
902 | static void | 914 | static void |