summaryrefslogtreecommitdiff
path: root/libdocument/ev-file-helpers.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-06-01 11:46:36 +0300
committermonsta <[email protected]>2016-06-01 11:46:36 +0300
commit3a2ccdaa3d399971c8b67df271646860a4327f27 (patch)
tree14448bfb44d810ca77b81f316d251535ee57d7ec /libdocument/ev-file-helpers.c
parent415e00e359d2114a215289b4cf4c88368f232ba7 (diff)
downloadatril-3a2ccdaa3d399971c8b67df271646860a4327f27.tar.bz2
atril-3a2ccdaa3d399971c8b67df271646860a4327f27.tar.xz
fix minor build warning
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 ());