diff --git a/midori/midori-searchaction.c b/midori/midori-searchaction.c index e6d5de79..0b5f6810 100644 --- a/midori/midori-searchaction.c +++ b/midori/midori-searchaction.c @@ -440,10 +440,6 @@ midori_search_action_icon_released_cb (GtkWidget* entry, gint button, GtkAction* action) { - - if (icon_pos == GTK_ICON_ENTRY_SECONDARY) - return; - KatzeArray* search_engines; GtkWidget* menu; guint i; @@ -452,6 +448,9 @@ midori_search_action_icon_released_cb (GtkWidget* entry, GdkPixbuf* icon; GtkWidget* image; + if (icon_pos == GTK_ICON_ENTRY_SECONDARY) + return; + search_engines = MIDORI_SEARCH_ACTION (action)->search_engines; menu = gtk_menu_new (); i = 0;