summaryrefslogtreecommitdiff
path: root/gtk/gtkprintjob.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-04-30 04:55:25 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-04-30 04:55:25 +0000
commita8698a24c7a53fe4d34211053529f14747f7ce5f (patch)
treed49b57f04cceb60c0d33f26b4e199a5862667863 /gtk/gtkprintjob.c
parenta788ef97a4d51334de280075ed1dedcbc2d74e0f (diff)
downloadgtk+-a8698a24c7a53fe4d34211053529f14747f7ce5f.tar.gz
Use g_unlink. (#421990, Morten Welinder)
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
Diffstat (limited to 'gtk/gtkprintjob.c')
-rw-r--r--gtk/gtkprintjob.c2
1 files changed, 1 insertions, 1 deletions
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);