diff --git a/ChangeLog b/ChangeLog index a20d462462..254adfd784 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-04-30 Matthias Clasen + + * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use + g_unlink. (#421990, Morten Welinder) + 2007-04-29 Matthias Clasen Fix some issues with reference handling in the printing diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c index c3fc27a69c..0edf240d5f 100644 --- a/gtk/gtkprintjob.c +++ b/gtk/gtkprintjob.c @@ -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);