summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 16:02:56 +0100
committerinfirit <[email protected]>2014-12-18 16:02:56 +0100
commitb4e600308a77d19b56b66e0f3130f9ccf97ac825 (patch)
tree9878a41467c40977c9c3d806e5deea69be0a5d6b
parent2cdbc0cf048be0e5ed0f8a03ae99b67034bab695 (diff)
downloadmate-system-monitor-b4e600308a77d19b56b66e0f3130f9ccf97ac825.tar.bz2
mate-system-monitor-b4e600308a77d19b56b66e0f3130f9ccf97ac825.tar.xz
Use XDG user runtime directory instead of tmp for temporary files
Taken from GSM commit: f8fd26f1a3bf9b58a72e7cacdd1eb960736d49d5 From: Robert Roth <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=646393
-rw-r--r--src/bacon-message-connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bacon-message-connection.c b/src/bacon-message-connection.c
index 4b8014b..be50d87 100644
--- a/src/bacon-message-connection.c
+++ b/src/bacon-message-connection.c
@@ -228,7 +228,7 @@ socket_filename (const char *prefix)
const char *tmpdir;
pattern = g_strdup_printf ("%s.%s.*", prefix, g_get_user_name ());
- tmpdir = g_get_tmp_dir ();
+ tmpdir = g_get_user_runtime_dir ();
filename = find_file_with_pattern (tmpdir, pattern);
if (filename == NULL)
{