diff options
author | Tor Lillqvist <tml@iki.fi> | 2010-09-08 18:17:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2010-09-08 21:31:34 +0300 |
commit | 801875b8050e7113249943000276f72ffec07e6e (patch) | |
tree | 983ae4ab53c128289a265564f5edfc85bd8f06fa /gtk/gtkprintjob.c | |
parent | 2ab562a6f76989823b48a07e52d903727944019e (diff) | |
download | gtk+-801875b8050e7113249943000276f72ffec07e6e.tar.gz |
Replace gtk_debug_flags with getter and setter functions
Preferrably should be made just into a local variable for libgtk like
_gdk_debug_flags for libgdk. But for now used by
gtk/tests/textbuffer.c and modules/printbackends/cups/gtkprintbackendcups.c.
Diffstat (limited to 'gtk/gtkprintjob.c')
-rw-r--r-- | gtk/gtkprintjob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c index e30deb00c6..7dc890b0b4 100644 --- a/gtk/gtkprintjob.c +++ b/gtk/gtkprintjob.c @@ -485,7 +485,7 @@ gtk_print_job_get_surface (GtkPrintJob *job, #ifdef G_ENABLE_DEBUG /* If we are debugging printing don't delete the tmp files */ - if (!(gtk_debug_flags & GTK_DEBUG_PRINTING)) + if (!(gtk_get_debug_flags () & GTK_DEBUG_PRINTING)) #endif /* G_ENABLE_DEBUG */ g_unlink (filename); g_free (filename); |