[totem] main: Use totem_dot_dir() to get the session file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Use totem_dot_dir() to get the session file
- Date: Tue, 19 Mar 2013 09:59:31 +0000 (UTC)
commit 82794baaf876bbbb1f1cbb79c31c464c2e109566
Author: Bastien Nocera <hadess hadess net>
Date: Tue Mar 19 10:43:57 2013 +0100
main: Use totem_dot_dir() to get the session file
So that we make sure Totem's config directory is created.
src/totem-session.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-session.c b/src/totem-session.c
index e5c16d2..21073cb 100644
--- a/src/totem-session.c
+++ b/src/totem-session.c
@@ -33,7 +33,7 @@ get_session_file (void)
GFile *file;
char *path;
- path = g_build_filename (g_get_user_config_dir (), "totem", "session_state.xspf", NULL);
+ path = g_build_filename (totem_dot_dir (), "session_state.xspf", NULL);
file = g_file_new_for_path (path);
g_free (path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]