diff options
author | John Stebbins <[email protected]> | 2016-06-29 16:14:54 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-06-29 16:14:54 -0700 |
commit | 5d60036784508fb434e96064ef0a432bd4bd1dac (patch) | |
tree | b726ec0d4b756cf452ff2ce4808e6a816ab5d034 /gtk/src/main.c | |
parent | a4c3df79969d6bfd152db991c6e5aadf89a543dd (diff) |
LinGui: fix deprecation warning against gtk 3.20
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 10 |
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\ |