aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-11-17 04:31:26 +0000
committerGuy Harris <guy@alum.mit.edu>2013-11-17 04:31:26 +0000
commit74647a318b93d780cae2eabe70ce45b55e4e94a7 (patch)
treedf18fad08e3dea152cf2acfa45d2f87c8d1413ee /ui
parentdb25270df8bb4e4800e4d2c8a9f930b7a9fbc8df (diff)
We just use g_get_tmp_dir() to get the temporary file directory when
creating temporary files, so use it to get the directory we show to the user. svn path=/trunk/; revision=53378
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk/about_dlg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/gtk/about_dlg.c b/ui/gtk/about_dlg.c
index acb5f4f521..8d22e55665 100644
--- a/ui/gtk/about_dlg.c
+++ b/ui/gtk/about_dlg.c
@@ -417,10 +417,8 @@ about_folders_page_new(void)
"capture files");
/* temp */
- path = get_tempfile_path("");
- about_folders_row(table, "Temp", path,
+ about_folders_row(table, "Temp", g_get_tmp_dir(),
"untitled capture files");
- g_free(path);
/* pers conf */
path = get_persconffile_path("", FALSE);