From c1b26fdf13b7a616debfad5cbfc86c3f5d7ab95c Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 5 Oct 2014 21:41:58 +0200 Subject: Drop more glib compat code for accels file --- shell/ev-application.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'shell') 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); -- cgit v1.2.1