summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-06-16 15:22:09 -0700
committerJohn Stebbins <[email protected]>2017-06-16 15:22:09 -0700
commit2a213baa3bcfe40bf0bde9a4e6cbeb8a8c1171c3 (patch)
tree2a79b2e89e838def3c521f024115f7ab250095a9 /gtk
parent1e86c6e2834945ff6f17ee104e844c5d946fa161 (diff)
LinGui: fix CSS setting for gtk < 3.20
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 57a96645d..061b97fee 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -794,12 +794,15 @@ const gchar *MyCSS =
background-color: @gray32; \n\
color: @white; \n\
} \n\
- \n\
+"
+#if GTK_CHECK_VERSION(3, 20, 0)
+" \n\
stackswitcher button.text-button \n\
{ \n\
min-width: 50px; \n\
} \n\
"
+#endif
#if GTK_CHECK_VERSION(3, 16, 0)
" \n\
\n\