summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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\