summaryrefslogtreecommitdiff
path: root/src/eom-application.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-17 16:09:07 +0200
committerinfirit <[email protected]>2014-07-24 18:05:54 +0200
commit5115e68d942f1bdae0729841ae420de1a5c61840 (patch)
tree9d22318de75b05df6231246ca1f62e6a9f506fc6 /src/eom-application.c
parentd69408760eaa86d0532068c66c92847f2c12379c (diff)
downloadeom-5115e68d942f1bdae0729841ae420de1a5c61840.tar.bz2
eom-5115e68d942f1bdae0729841ae420de1a5c61840.tar.xz
Drop support for glib < 2.36
Diffstat (limited to 'src/eom-application.c')
-rw-r--r--src/eom-application.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/eom-application.c b/src/eom-application.c
index dc6a4cb..ea23410 100644
--- a/src/eom-application.c
+++ b/src/eom-application.c
@@ -543,11 +543,7 @@ eom_application_screensaver_disable (EomApplication *application)
static void
eom_application_load_accelerators (void)
{
- #if GLIB_CHECK_VERSION(2, 6, 0)
gchar* accelfile = g_build_filename(g_get_user_config_dir(), "mate", "accels", "eom", NULL);
- #else // glib version < 2.6.0
- gchar* accelfile = g_build_filename(g_get_home_dir(), ".config", "mate", "accels", "eom", NULL);
- #endif
/* gtk_accel_map_load does nothing if the file does not exist */
gtk_accel_map_load (accelfile);
@@ -557,11 +553,7 @@ eom_application_load_accelerators (void)
static void
eom_application_save_accelerators (void)
{
- #if GLIB_CHECK_VERSION(2, 6, 0)
gchar* accelfile = g_build_filename(g_get_user_config_dir(), "mate", "accels", "eom", NULL);
- #else // glib version < 2.6.0
- gchar* accelfile = g_build_filename(g_get_home_dir(), ".config", "mate", "accels", "eom", NULL);
- #endif
gtk_accel_map_save (accelfile);
g_free (accelfile);