forked from AuroraMiddleware/gtk
gtk/gtkstylecascade.c: Declare variables at beginning of block
This commit is contained in:
parent
cd44f6d875
commit
5f525839da
@ -49,10 +49,11 @@ gtk_style_cascade_iter_next (GtkStyleCascade *cascade,
|
||||
|
||||
for (cas = cascade, ix = 0; ix < iter->n_cascades; cas = cas->parent, ix++)
|
||||
{
|
||||
GtkStyleProviderData *data;
|
||||
if (iter->cascade_index[ix] <= 0)
|
||||
continue;
|
||||
|
||||
GtkStyleProviderData *data = &g_array_index (cas->providers,
|
||||
data = &g_array_index (cas->providers,
|
||||
GtkStyleProviderData,
|
||||
iter->cascade_index[ix] - 1);
|
||||
if (highest_priority_data == NULL || data->priority > highest_priority_data->priority)
|
||||
|
Loading…
Reference in New Issue
Block a user