summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-05-07 21:55:30 +0200
committerraveit65 <[email protected]>2017-05-07 22:07:57 +0200
commit66571e37e466d4594f30cd740d3db4443449c3c3 (patch)
tree0921e692bc1e37b70f70157ba8821183a80e572c /src/main.c
parentf1be211ff6bd585bfa0d5fadc260cfc1d93eff02 (diff)
downloadeom-66571e37e466d4594f30cd740d3db4443449c3c3.tar.bz2
eom-66571e37e466d4594f30cd740d3db4443449c3c3.tar.xz
use different css files for < gtk+=3.20v1.18.2
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d5c5079..e1ef481 100644
--- a/src/main.c
+++ b/src/main.c
@@ -49,7 +49,11 @@
#include <exempi/xmp.h>
#endif
+#if GTK_CHECK_VERSION (3, 20, 0)
#define EOM_CSS_FILE_PATH EOM_DATA_DIR G_DIR_SEPARATOR_S "eom.css"
+#else
+#define EOM_CSS_FILE_PATH EOM_DATA_DIR G_DIR_SEPARATOR_S "eom-3.18.css"
+#endif
static EomStartupFlags flags;