[Xfce4-commits] <midori:master> Declare ax, ay in throbber earlier

Christian Dywan noreply at xfce.org
Mon Nov 1 03:18:02 CET 2010


Updating branch refs/heads/master
         to 6ea63d2f70015811964300efaf93a6f2ecd9fda0 (commit)
       from 54cd4afa77c22a6fa7cb187cf0cb260840f33921 (commit)

commit 6ea63d2f70015811964300efaf93a6f2ecd9fda0
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Nov 1 03:18:00 2010 +0100

    Declare ax, ay in throbber earlier

 katze/katze-throbber.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/katze/katze-throbber.c b/katze/katze-throbber.c
index 66e133e..8d9ab09 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))



More information about the Xfce4-commits mailing list