summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-application.c6
-rw-r--r--shell/ev-daemon.c6
2 files changed, 2 insertions, 10 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
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);