summaryrefslogtreecommitdiff
path: root/shell/ev-daemon.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-daemon.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-daemon.c')
-rw-r--r--shell/ev-daemon.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/ev-daemon.c b/shell/ev-daemon.c
index c242e550..0448872e 100644
--- a/shell/ev-daemon.c
+++ b/shell/ev-daemon.c
@@ -178,11 +178,7 @@ ev_migrate_metadata (void)
if (userdir) {
dot_dir = g_build_filename (userdir, "atril", NULL);
} else {
- #if GLIB_CHECK_VERSION(2, 6, 0)
- dot_dir = g_build_filename(g_get_user_config_dir(), "atril", NULL);
- #else // glib version < 2.6.0
- dot_dir = g_build_filename(g_get_home_dir(), ".config", "atril", NULL);
- #endif
+ dot_dir = g_build_filename(g_get_user_config_dir(), "atril", NULL);
}
updated = g_build_filename (dot_dir, "migrated-to-gvfs", NULL);