diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-06-03 10:24:47 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-06-03 10:24:47 -0400 |
commit | e9ce1959b47365059396da21f89cc63a22e767ac (patch) | |
tree | 7a612c30efea3d1bedc0dcac202c6a92e74bd939 | |
parent | a7edd0992e6a888395cc1c543d9d21de9b2de7e5 (diff) | |
download | gtk+-state-saving.tar.gz |
fixup: use cache dirstate-saving
-rw-r--r-- | gtk/gtkapplication.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index 648c4fc955..1f5920fd37 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -1325,8 +1325,8 @@ get_state_file (GtkApplication *application) const char *dir; app_id = g_application_get_application_id (G_APPLICATION (application)); - dir = g_get_user_data_dir (); - return g_strconcat (dir, "/", app_id, ".state", NULL); + dir = g_get_user_cache_dir (); + return g_strconcat (dir, G_DIR_SEPARATOR_S, app_id, ".state", NULL); } /** |