From: Christian Dywan Date: Mon, 1 Nov 2010 02:18:00 +0000 (+0100) Subject: Declare ax, ay in throbber earlier X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ea63d2f70015811964300efaf93a6f2ecd9fda0;p=midori Declare ax, ay in throbber earlier --- diff --git a/katze/katze-throbber.c b/katze/katze-throbber.c index 66e133e3..8d9ab097 100644 --- a/katze/katze-throbber.c +++ b/katze/katze-throbber.c @@ -856,6 +856,7 @@ katze_throbber_expose_event (GtkWidget* widget, GdkEventExpose* event) { KatzeThrobber* throbber = KATZE_THROBBER (widget); + gint ax, ay; if (G_UNLIKELY (!throbber->width || !throbber->height)) return TRUE; @@ -867,7 +868,6 @@ katze_throbber_expose_event (GtkWidget* widget, if (!throbber->animated && (throbber->static_pixbuf || throbber->static_icon_name || throbber->static_stock_id)) { - gint ax, ay; cairo_t* cr; if (G_UNLIKELY (!throbber->static_pixbuf && throbber->static_icon_name))