diff options
author | infirit <[email protected]> | 2014-10-05 21:41:58 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-10-05 21:41:58 +0200 |
commit | c1b26fdf13b7a616debfad5cbfc86c3f5d7ab95c (patch) | |
tree | fa5674d1701adb6bb05d4b84f5463cb6bab95820 /shell/ev-application.c | |
parent | 31051d81334e2b237f5e949a2f198285537bbccb (diff) | |
download | atril-c1b26fdf13b7a616debfad5cbfc86c3f5d7ab95c.tar.bz2 atril-c1b26fdf13b7a616debfad5cbfc86c3f5d7ab95c.tar.xz |
Drop more glib compat code for accels file
Diffstat (limited to 'shell/ev-application.c')
-rw-r--r-- | shell/ev-application.c | 6 |
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); |