forked from AuroraMiddleware/gtk
Query range style properties only on range widgets. (#352277, Benjamin
2006-08-26 Matthias Clasen <mclasen@redhat.com> * pixbuf-draw.c (reverse_engineer_stepper_box): Query range style properties only on range widgets. (#352277, Benjamin Otte)
This commit is contained in:
parent
af80642d0c
commit
b14b866c3d
@ -453,7 +453,7 @@ reverse_engineer_stepper_box (GtkWidget *range,
|
||||
gint box_width;
|
||||
gint box_height;
|
||||
|
||||
if (range)
|
||||
if (range && GTK_IS_RANGE (range))
|
||||
{
|
||||
gtk_widget_style_get (range,
|
||||
"slider_width", &slider_width,
|
||||
|
Loading…
Reference in New Issue
Block a user