From 6ea63d2f70015811964300efaf93a6f2ecd9fda0 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 1 Nov 2010 03:18:00 +0100 Subject: [PATCH] Declare ax, ay in throbber earlier --- katze/katze-throbber.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5