diff options
author | monsta <[email protected]> | 2016-06-01 11:46:36 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-06-01 11:46:36 +0300 |
commit | 3a2ccdaa3d399971c8b67df271646860a4327f27 (patch) | |
tree | 14448bfb44d810ca77b81f316d251535ee57d7ec /libdocument | |
parent | 415e00e359d2114a215289b4cf4c88368f232ba7 (diff) | |
download | atril-3a2ccdaa3d399971c8b67df271646860a4327f27.tar.bz2 atril-3a2ccdaa3d399971c8b67df271646860a4327f27.tar.xz |
fix minor build warning
Diffstat (limited to 'libdocument')
-rw-r--r-- | libdocument/ev-file-helpers.c | 3 |
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 ()); |