summaryrefslogtreecommitdiff
path: root/libdocument
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdocument/ev-image.c b/libdocument/ev-image.c
index 1e112add..85530101 100644
--- a/libdocument/ev-image.c
+++ b/libdocument/ev-image.c
@@ -144,8 +144,8 @@ ev_image_save_tmp (EvImage *image,
if (image->priv->tmp_uri)
return image->priv->tmp_uri;
- if ((fd = ev_mkstemp ("image.XXXXXX", &filename, &error)) == -1)
- goto had_error;
+ if ((fd = ev_mkstemp ("image.XXXXXX.png", &filename, &error)) == -1)
+ goto had_error;
gdk_pixbuf_save (pixbuf, filename,
"png", &error,