Declare ax, ay in throbber earlier

This commit is contained in:
Christian Dywan 2010-11-01 03:18:00 +01:00
parent 54cd4afa77
commit 6ea63d2f70

View 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))