From 2a213baa3bcfe40bf0bde9a4e6cbeb8a8c1171c3 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Fri, 16 Jun 2017 15:22:09 -0700 Subject: [PATCH] LinGui: fix CSS setting for gtk < 3.20 --- gtk/src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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\ -- 2.40.0