summaryrefslogtreecommitdiff
path: root/shell/ev-application.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-01-10 12:09:35 +0300
committerMonsta <[email protected]>2015-01-10 12:09:35 +0300
commit54da6f16ad644abc7771d568679a12b79a890e01 (patch)
treefb9580b83e4e254bb3a6a92406b9006bca94f22c /shell/ev-application.c
parentc330e38212140a008e77a58bba46af73635e706c (diff)
downloadatril-54da6f16ad644abc7771d568679a12b79a890e01.tar.bz2
atril-54da6f16ad644abc7771d568679a12b79a890e01.tar.xz
shell: drop ancient code with support for Glib < 2.6.0
Diffstat (limited to 'shell/ev-application.c')
-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 8a981c24..e2b1ea62 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -989,11 +989,7 @@ static void ev_application_init(EvApplication* ev_application)
}
else
{
- #if GLIB_CHECK_VERSION(2, 6, 0)
- ev_application->dot_dir = g_build_filename(g_get_user_config_dir(), "atril", NULL);
- #else // glib version < 2.6.0
- ev_application->dot_dir = g_build_filename(g_get_home_dir(), ".config", "atril", NULL);
- #endif
+ ev_application->dot_dir = g_build_filename(g_get_user_config_dir(), "atril", NULL);
}
#ifdef G_OS_WIN32