From a8698a24c7a53fe4d34211053529f14747f7ce5f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Apr 2007 04:55:25 +0000 Subject: [PATCH] Use g_unlink. (#421990, Morten Welinder) 2007-04-30 Matthias Clasen * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use g_unlink. (#421990, Morten Welinder) svn path=/trunk/; revision=17724 --- ChangeLog | 5 +++++ gtk/gtkprintjob.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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);