aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-02 07:57:38 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-02 07:57:38 +0000
commit43cf75dba32281c2a99d1204824bf07bffb116c8 (patch)
tree02f6f133461f35b3533121aa50bd3b6a7e2bfbc6
parent9ce4c70c81f975f44698506c17747d23ac0ef69a (diff)
downloadgnunet-gtk-43cf75dba32281c2a99d1204824bf07bffb116c8.tar.gz
gnunet-gtk-43cf75dba32281c2a99d1204824bf07bffb116c8.zip
-LRN: fix declaration order
-rw-r--r--src/fs/gnunet-fs-gtk-event_handler.c32
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
114static struct PublishTab *publish_tab; 114static struct PublishTab *publish_tab;
115 115
116/**
117 * Row reference for the current search context menu.
118 */
119static GtkTreeRowReference *current_context_row_reference;
120
121/**
122 * Search tab used for the current search context menu.
123 */
124static struct SearchTab *current_context_search_tab;
125
126static void
127start_download_ctx_menu (GtkMenuItem *item, gpointer user_data);
128
129static void
130start_download_recursively_ctx_menu (GtkMenuItem *item, gpointer user_data);
131
132static void
133abort_download_ctx_menu (GtkMenuItem *item, gpointer user_data);
134
135static void
136copy_uri_to_clipboard_ctx_menu (GtkMenuItem *item, gpointer user_data);
137
116static gboolean 138static gboolean
117search_list_popup (GtkTreeView *tv, struct SearchTab *tab, GdkEventButton *event_button) 139search_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 */
892static GtkTreeRowReference *current_context_row_reference;
893
894/**
895 * Search tab used for the current search context menu.
896 */
897static 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 */
902static void 914static void