]> spindle.queued.net Git - midori/commitdiff
Declare ax, ay in throbber earlier
authorChristian Dywan <christian@twotoasts.de>
Mon, 1 Nov 2010 02:18:00 +0000 (03:18 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 1 Nov 2010 02:18:00 +0000 (03:18 +0100)
katze/katze-throbber.c

index 66e133e362fabf1342490e9f38427e9ecbe81794..8d9ab097bd3af341a6f908bbed0aed7c891c2ba5 100644 (file)
@@ -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))