forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
a788ef97a4
commit
a8698a24c7
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user