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:
		| @ -143,7 +143,7 @@ static void     gtk_tree_store_move                    (GtkTreeStore           * | ||||
| static inline void | ||||
| validate_tree (GtkTreeStore *tree_store) | ||||
| { | ||||
|   if (gtk_debug_flags & GTK_DEBUG_TREE) | ||||
|   if (gtk_get_debug_flags () & GTK_DEBUG_TREE) | ||||
|     { | ||||
|       g_assert (G_NODE (tree_store->root)->parent == NULL); | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Tor Lillqvist
					Tor Lillqvist