]> Pileus Git - ~andy/gtk/commitdiff
Use g_unlink. (#421990, Morten Welinder)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Apr 2007 04:55:25 +0000 (04:55 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 30 Apr 2007 04:55:25 +0000 (04:55 +0000)
2007-04-30  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
        g_unlink.  (#421990, Morten Welinder)

svn path=/trunk/; revision=17724

ChangeLog
gtk/gtkprintjob.c

index a20d462462b43971b613b19033784fc95f3d3614..254adfd78427881a38238aabd4b58caf77e98f7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-30  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
+       g_unlink.  (#421990, Morten Welinder)
+
 2007-04-29  Matthias Clasen <mclasen@redhat.com>
 
        Fix some issues with reference handling in the printing
index c3fc27a69c9f88832da2b34cfe87c7e08b8fb144..0edf240d5f6f550dc7be801c1df94ea38b21e9db 100644 (file)
@@ -486,7 +486,7 @@ gtk_print_job_get_surface (GtkPrintJob  *job,
   /* If we are debugging printing don't delete the tmp files */
   if (!(gtk_debug_flags & GTK_DEBUG_PRINTING))
 #endif /* G_ENABLE_DEBUG */
-  unlink (filename);
+  g_unlink (filename);
   g_free (filename);
 
   paper_size = gtk_page_setup_get_paper_size (priv->page_setup);