summaryrefslogtreecommitdiff
path: root/libdocument/ev-file-helpers.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-02 16:11:53 +0200
committerraveit65 <[email protected]>2016-06-02 16:11:53 +0200
commit6bccceb6b8573f9967331dde0a70cabeaccb6f44 (patch)
treee6cb07dd3d4241482f9598bc9686541de05557a9 /libdocument/ev-file-helpers.c
parent3551d1c5e7fff4665b12b607f87529995307338c (diff)
parent3a2ccdaa3d399971c8b67df271646860a4327f27 (diff)
downloadatril-6bccceb6b8573f9967331dde0a70cabeaccb6f44.tar.bz2
atril-6bccceb6b8573f9967331dde0a70cabeaccb6f44.tar.xz
Merge branch 'master' of github.com:mate-desktop/atril
Diffstat (limited to 'libdocument/ev-file-helpers.c')
-rw-r--r--libdocument/ev-file-helpers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdocument/ev-file-helpers.c b/libdocument/ev-file-helpers.c
index 1206db63..1826f8c3 100644
--- a/libdocument/ev-file-helpers.c
+++ b/libdocument/ev-file-helpers.c
@@ -84,7 +84,8 @@ _ev_tmp_dir (GError **error)
{
if (tmp_dir == NULL) {
- gchar *dirname, *prgname;
+ const gchar *prgname;
+ gchar *dirname;
prgname = g_get_prgname ();
dirname = g_strdup_printf ("%s-%u", prgname ? prgname : "unknown", getpid ());