Declare ax, ay in throbber earlier
This commit is contained in:
parent
54cd4afa77
commit
6ea63d2f70
1 changed files with 1 additions and 1 deletions
|
@ -856,6 +856,7 @@ katze_throbber_expose_event (GtkWidget* widget,
|
||||||
GdkEventExpose* event)
|
GdkEventExpose* event)
|
||||||
{
|
{
|
||||||
KatzeThrobber* throbber = KATZE_THROBBER (widget);
|
KatzeThrobber* throbber = KATZE_THROBBER (widget);
|
||||||
|
gint ax, ay;
|
||||||
|
|
||||||
if (G_UNLIKELY (!throbber->width || !throbber->height))
|
if (G_UNLIKELY (!throbber->width || !throbber->height))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -867,7 +868,6 @@ katze_throbber_expose_event (GtkWidget* widget,
|
||||||
if (!throbber->animated && (throbber->static_pixbuf
|
if (!throbber->animated && (throbber->static_pixbuf
|
||||||
|| throbber->static_icon_name || throbber->static_stock_id))
|
|| throbber->static_icon_name || throbber->static_stock_id))
|
||||||
{
|
{
|
||||||
gint ax, ay;
|
|
||||||
cairo_t* cr;
|
cairo_t* cr;
|
||||||
|
|
||||||
if (G_UNLIKELY (!throbber->static_pixbuf && throbber->static_icon_name))
|
if (G_UNLIKELY (!throbber->static_pixbuf && throbber->static_icon_name))
|
||||||
|
|
Loading…
Reference in a new issue