aboutsummaryrefslogtreecommitdiff
path: root/src/idorange.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-12-14 12:19:26 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-12-14 12:19:26 -0500
commit9b717e50b0890d938cd2cf6bb4ec938240740f31 (patch)
tree1c3ced03cd9ec27f3406099e33cfb6892aa7ee2e /src/idorange.c
parent50b234a41b70db8f4c8b15ddaf2d15beacb602d6 (diff)
downloadayatana-ido-9b717e50b0890d938cd2cf6bb4ec938240740f31.tar.gz
ayatana-ido-9b717e50b0890d938cd2cf6bb4ec938240740f31.tar.bz2
ayatana-ido-9b717e50b0890d938cd2cf6bb4ec938240740f31.zip
removed deprecations from gtk3 and fixed sizing issues with idemessagedialog (LP: #888392)
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);