Don't whine about expander-style missing

This check was lost in the GtkStyleContext porting.
This commit is contained in:
Matthias Clasen 2010-11-16 07:52:27 -05:00 committed by Carlos Garnacho
parent 43cff6f6f7
commit eb8a1c4e33

View File

@ -3187,7 +3187,9 @@ gtk_default_draw_expander (GtkStyle *style,
break;
}
if (widget)
if (widget &&
gtk_widget_class_find_style_property (GTK_WIDGET_GET_CLASS (widget),
"expander-size"))
gtk_widget_style_get (widget, "expander-size", &size, NULL);
else
size = 12;