aboutsummaryrefslogtreecommitdiff
path: root/src/idorange.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idorange.c')
-rw-r--r--src/idorange.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/idorange.c b/src/idorange.c
index 83ab14b..7d7ee85 100644
--- a/src/idorange.c
+++ b/src/idorange.c
@@ -177,6 +177,7 @@ ido_range_constructed (GObject *object)
"knob-height", &height,
NULL);
+#ifndef USE_GTK3
g_snprintf (buf, sizeof (buf),
"style \"ido-range\" {\n"
" GtkRange::slider-width = %d\n"
@@ -184,6 +185,7 @@ ido_range_constructed (GObject *object)
"} widget \"*.idorange-%p\" style \"ido-range\"\n",
width, height, range);
gtk_rc_parse_string (buf);
+#endif
}
gtk_range_set_slider_size_fixed (GTK_RANGE (range), TRUE);