summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <infirit@gmail.com>2014-10-05 21:41:58 +0200
committerinfirit <infirit@gmail.com>2014-10-05 21:41:58 +0200
commitc1b26fdf13b7a616debfad5cbfc86c3f5d7ab95c (patch)
treefa5674d1701adb6bb05d4b84f5463cb6bab95820
parent31051d81334e2b237f5e949a2f198285537bbccb (diff)
downloadatril-c1b26fdf13b7a616debfad5cbfc86c3f5d7ab95c.tar.bz2
atril-c1b26fdf13b7a616debfad5cbfc86c3f5d7ab95c.tar.xz
Drop more glib compat code for accels file
-rw-r--r--shell/ev-application.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index f665134c..10b91e5f 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -903,11 +903,7 @@ static void ev_application_accel_map_load(EvApplication* application)
}
else
{
- #if GLIB_CHECK_VERSION(2, 6, 0)
- accel_map_file = g_build_filename(g_get_user_config_dir(), "accels", "atril", NULL);
- #else // glib version < 2.6.0
- accel_map_file = g_build_filename(g_get_home_dir(), ".config", "accels", "atril", NULL);
- #endif
+ accel_map_file = g_build_filename(g_get_user_config_dir(), "accels", "atril", NULL);
}
gtk_accel_map_load(accel_map_file);