summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-05-07 21:55:30 +0200
committerraveit65 <[email protected]>2017-05-07 22:06:32 +0200
commit701aee977ca3fd5dd228e0f3b1a7c95ad5971eff (patch)
tree8eeccb7cf78bb7a008c2c22830294457cb61ae4a /src
parenteb24f803828b31837a2465ac203b2abdec80327c (diff)
downloadeom-701aee977ca3fd5dd228e0f3b1a7c95ad5971eff.tar.bz2
eom-701aee977ca3fd5dd228e0f3b1a7c95ad5971eff.tar.xz
use different css files for < gtk+=3.20
Diffstat (limited to 'src')
-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;