X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=libdocument%2Fev-image.c;h=fcbbd7d00e7ee85d0abf8a4d13c623a023b06fc0;hb=4de037ccccb4d836db43bf97fdaacf7c02ffb1f1;hp=572b1195263fa1b014b4f32d1696e2818621a3ec;hpb=0f1c723ad2fe48a0f22e32619985f93ebb2e02ef;p=evince.git diff --git a/libdocument/ev-image.c b/libdocument/ev-image.c index 572b1195..fcbbd7d0 100644 --- a/libdocument/ev-image.c +++ b/libdocument/ev-image.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include @@ -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,