]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix CSS setting for gtk < 3.20
authorJohn Stebbins <jstebbins@vm-ubuntu-16.04>
Fri, 16 Jun 2017 22:22:09 +0000 (15:22 -0700)
committerJohn Stebbins <jstebbins@vm-ubuntu-16.04>
Fri, 16 Jun 2017 22:22:09 +0000 (15:22 -0700)
gtk/src/main.c

index 57a96645d908258875cf23896ffe213e48a19ac3..061b97fee0c0906f07df8f5de783031a1971ccc5 100644 (file)
@@ -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\