]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix deprecation warning against gtk 3.20
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 29 Jun 2016 23:14:54 +0000 (16:14 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 29 Jun 2016 23:14:54 +0000 (16:14 -0700)
gtk/src/main.c

index 562cc6285fbdbc740a18d7921aec637d2f7d62fb..bd276c4547a0d21f0322802bd985046149cae734 100644 (file)
@@ -777,7 +777,17 @@ GtkEntry {                          \n\
     color: @white;                  \n\
 }                                   \n\
                                     \n\
+"
+#if GTK_CHECK_VERSION(3, 20, 0)
+"\
+#preview_reset:hover                \n\
+"
+#else
+"\
 #preview_reset:prelight             \n\
+"
+#endif
+"\
 {                                   \n\
     background: @black;             \n\
     background-color: @gray32;      \n\