summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-06-29 16:14:54 -0700
committerJohn Stebbins <[email protected]>2016-06-29 16:14:54 -0700
commit5d60036784508fb434e96064ef0a432bd4bd1dac (patch)
treeb726ec0d4b756cf452ff2ce4808e6a816ab5d034 /gtk/src/main.c
parenta4c3df79969d6bfd152db991c6e5aadf89a543dd (diff)
LinGui: fix deprecation warning against gtk 3.20
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r--gtk/src/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 562cc6285..bd276c454 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -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\