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:
Matthias Clasen 2006-08-26 06:02:33 +00:00 committed by Matthias Clasen
parent af80642d0c
commit b14b866c3d

View File

@ -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,