summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilderparser.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2010-09-08 18:17:57 +0300
committerTor Lillqvist <tml@iki.fi>2010-09-08 21:31:34 +0300
commit801875b8050e7113249943000276f72ffec07e6e (patch)
tree983ae4ab53c128289a265564f5edfc85bd8f06fa /gtk/gtkbuilderparser.c
parent2ab562a6f76989823b48a07e52d903727944019e (diff)
downloadgtk+-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/gtkbuilderparser.c')
-rw-r--r--gtk/gtkbuilderparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbuilderparser.c b/gtk/gtkbuilderparser.c
index a3954d1ae5..11fe3c63f1 100644
--- a/gtk/gtkbuilderparser.c
+++ b/gtk/gtkbuilderparser.c
@@ -835,7 +835,7 @@ start_element (GMarkupParseContext *context,
ParserData *data = (ParserData*)user_data;
#ifdef GTK_ENABLE_DEBUG
- if (gtk_debug_flags & GTK_DEBUG_BUILDER)
+ if (gtk_get_debug_flags () & GTK_DEBUG_BUILDER)
{
GString *tags = g_string_new ("");
int i;