]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-attachment.c
New files, define a page transition effect, at the moment it maps
[evince.git] / libdocument / ev-attachment.c
index 7e7ca127ea0b35483179d555e11253c852db3b9e..7592c4fe0f61db256db7fc996933b7a5057899f7 100644 (file)
@@ -17,6 +17,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include <config.h>
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
 #include <libgnomevfs/gnome-vfs.h>
@@ -97,7 +98,7 @@ ev_attachment_finalize (GObject *object)
        }
 
        if (attachment->priv->tmp_uri) {
-               g_unlink (attachment->priv->tmp_uri);
+               ev_tmp_filename_unlink (attachment->priv->tmp_uri);
                g_free (attachment->priv->tmp_uri);
                attachment->priv->tmp_uri = NULL;
        }