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.
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user