aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/fs.c')
-rw-r--r--src/plugins/fs/fs.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/plugins/fs/fs.c b/src/plugins/fs/fs.c
index be00afa7..19e83929 100644
--- a/src/plugins/fs/fs.c
+++ b/src/plugins/fs/fs.c
@@ -50,9 +50,12 @@ GtkTreeStore * download_summary;
50 50
51GtkTreeStore * upload_summary; 51GtkTreeStore * upload_summary;
52 52
53static void * eventProcessor(void * unused, 53static void *
54 const FSUI_Event * event) { 54saveEventProcessor(void * cls) {
55 void * ret = NULL; 55 const FSUI_Event * event = cls;
56 void * ret;
57
58 ret = NULL;
56 switch (event->type) { 59 switch (event->type) {
57 /* search events */ 60 /* search events */
58 case FSUI_search_started: 61 case FSUI_search_started:
@@ -186,6 +189,12 @@ static void * eventProcessor(void * unused,
186 return ret; 189 return ret;
187} 190}
188 191
192static void *
193eventProcessor(void * unused,
194 const FSUI_Event * event) {
195 return gtkSaveCall(&saveEventProcessor,
196 (void*) event);
197}
189 198
190/** 199/**
191 * Setup the summary views (in particular the models 200 * Setup the summary views (in particular the models