aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk.c')
-rw-r--r--src/fs/gnunet-fs-gtk.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c
index 27ca9eee..b4f6e592 100644
--- a/src/fs/gnunet-fs-gtk.c
+++ b/src/fs/gnunet-fs-gtk.c
@@ -485,11 +485,9 @@ main_window_search_button_clicked_cb (GtkButton *button, gpointer user_data)
485 mime_combo = GTK_COMBO_BOX (GNUNET_FS_GTK_get_main_window_object 485 mime_combo = GTK_COMBO_BOX (GNUNET_FS_GTK_get_main_window_object
486 ("main_window_search_mime_combobox")); 486 ("main_window_search_mime_combobox"));
487 mime_model = gtk_combo_box_get_model (mime_combo); 487 mime_model = gtk_combo_box_get_model (mime_combo);
488 if (mime_model && gtk_combo_box_get_active_iter (mime_combo, &iter)) 488 mime_keyword = NULL;
489 { 489 if (mime_model && gtk_combo_box_get_active_iter (mime_combo, &iter))
490 mime_keyword = NULL; 490 gtk_tree_model_get (mime_model, &iter, 0, &mime_keyword, -1);
491 gtk_tree_model_get (mime_model, &iter, 0, &mime_keyword, -1);
492 }
493 if (mime_keyword == NULL) 491 if (mime_keyword == NULL)
494 mime_keyword = g_strdup (""); 492 mime_keyword = g_strdup ("");
495 493