diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk_main-window-search.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk_main-window-search.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c b/src/fs/gnunet-fs-gtk_main-window-search.c index 6d05e212..6a049f1b 100644 --- a/src/fs/gnunet-fs-gtk_main-window-search.c +++ b/src/fs/gnunet-fs-gtk_main-window-search.c | |||
@@ -31,7 +31,7 @@ | |||
31 | /** | 31 | /** |
32 | * Start a search. | 32 | * Start a search. |
33 | * | 33 | * |
34 | * @param builder the main dialog builder | 34 | * @param builder the main window context |
35 | */ | 35 | */ |
36 | static void | 36 | static void |
37 | start_search (struct GNUNET_GTK_MainWindowContext *main_ctx) | 37 | start_search (struct GNUNET_GTK_MainWindowContext *main_ctx) |
@@ -149,7 +149,7 @@ start_search (struct GNUNET_GTK_MainWindowContext *main_ctx) | |||
149 | * User clicked on the 'search' button in the main window. | 149 | * User clicked on the 'search' button in the main window. |
150 | * | 150 | * |
151 | * @param button the search button | 151 | * @param button the search button |
152 | * @param user_data the main dialog builder | 152 | * @param user_data the main window context builder |
153 | */ | 153 | */ |
154 | void | 154 | void |
155 | main_window_search_button_clicked_cb (GtkButton * button, | 155 | main_window_search_button_clicked_cb (GtkButton * button, |
@@ -159,14 +159,13 @@ main_window_search_button_clicked_cb (GtkButton * button, | |||
159 | start_search (main_ctx); | 159 | start_search (main_ctx); |
160 | } | 160 | } |
161 | 161 | ||
162 | |||
163 | /** | 162 | /** |
164 | * User pushed a key (possibly ENTER) in the search entry widget. | 163 | * User pushed a key (possibly ENTER) in the search entry widget. |
165 | * Start the search if it was ENTER. | 164 | * Start the search if it was ENTER. |
166 | * | 165 | * |
167 | * @param widget the entry widget | 166 | * @param widget the entry widget |
168 | * @param event the key stroke | 167 | * @param event the key stroke |
169 | * @param user_data the builder of the main window | 168 | * @param user_data the main window context |
170 | * @return FALSE if this was not ENTER, TRUE if it was | 169 | * @return FALSE if this was not ENTER, TRUE if it was |
171 | */ | 170 | */ |
172 | gboolean | 171 | gboolean |