aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_main-window-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_main-window-search.c')
-rw-r--r--src/fs/gnunet-fs-gtk_main-window-search.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c b/src/fs/gnunet-fs-gtk_main-window-search.c
index cf4d969c..881131a9 100644
--- a/src/fs/gnunet-fs-gtk_main-window-search.c
+++ b/src/fs/gnunet-fs-gtk_main-window-search.c
@@ -62,7 +62,10 @@ start_search (struct GNUNET_GTK_MainWindowContext *main_ctx)
62 mime_keyword = NULL; 62 mime_keyword = NULL;
63 if ( (NULL != mime_model) && 63 if ( (NULL != mime_model) &&
64 gtk_combo_box_get_active_iter (mime_combo, &iter)) 64 gtk_combo_box_get_active_iter (mime_combo, &iter))
65 gtk_tree_model_get (mime_model, &iter, 0, &mime_keyword, -1); 65 gtk_tree_model_get (mime_model, &iter,
66 GNUNET_GTK_FS_MAIN_WINDOW_SEARCH_MIME_MC_MIME,
67 &mime_keyword,
68 -1);
66 if ( (NULL != mime_keyword) && 69 if ( (NULL != mime_keyword) &&
67 (0 == strcmp (mime_keyword, " ")) ) 70 (0 == strcmp (mime_keyword, " ")) )
68 { 71 {
@@ -87,7 +90,10 @@ start_search (struct GNUNET_GTK_MainWindowContext *main_ctx)
87 namespace_treepath = gtk_tree_row_reference_get_path (ref); 90 namespace_treepath = gtk_tree_row_reference_get_path (ref);
88 if ( (NULL != namespace_treepath) && 91 if ( (NULL != namespace_treepath) &&
89 (gtk_tree_model_get_iter (namespace_model, &iter, namespace_treepath))) 92 (gtk_tree_model_get_iter (namespace_model, &iter, namespace_treepath)))
90 gtk_tree_model_get (namespace_model, &iter, 1, &nsid, -1); 93 gtk_tree_model_get (namespace_model, &iter,
94 GNUNET_GTK_FS_MAIN_WINDOW_SEARCH_MIME_MC_TYPE,
95 &nsid,
96 -1);
91 } 97 }
92 } 98 }
93 99