diff options
-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 ()); |