summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{