From: Christian Dywan Date: Fri, 29 Jan 2010 20:13:44 +0000 (+0100) Subject: Move declaration in search action icon callback to the top X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37d89d0986c65218536d81db81bcac5d130fc190;p=midori Move declaration in search action icon callback to the top --- 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;