summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-10-05 21:27:43 +0200
committerinfirit <[email protected]>2014-10-05 21:27:43 +0200
commit6ba4ead2fd35a9eba91c48df17cfad542a963b49 (patch)
treea6a788e9f5dae5a8e0e7b810ea93c683c80aa5a3 /shell
parent86fc1e8cf98696a52079dd79235288098a7ff7ec (diff)
downloadatril-6ba4ead2fd35a9eba91c48df17cfad542a963b49.tar.bz2
atril-6ba4ead2fd35a9eba91c48df17cfad542a963b49.tar.xz
Drop glib compat code for accels file
Diffstat (limited to 'shell')
-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 96d9691b..ebed42c1 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -865,11 +865,7 @@ static void ev_application_accel_map_save(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);
}
tmp_filename = g_strdup_printf("%s.XXXXXX", accel_map_file);