summaryrefslogtreecommitdiff
path: root/gtk/gtkiconcache.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/gtkiconcache.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/gtkiconcache.c')
-rw-r--r--gtk/gtkiconcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c
index 73d063aee3..ecaf6df1ea 100644
--- a/gtk/gtkiconcache.c
+++ b/gtk/gtkiconcache.c
@@ -130,7 +130,7 @@ _gtk_icon_cache_new_for_path (const gchar *path)
info.flags = CHECK_OFFSETS|CHECK_STRINGS;
#ifdef G_ENABLE_DEBUG
- if (gtk_debug_flags & GTK_DEBUG_ICONTHEME)
+ if (gtk_get_debug_flags () & GTK_DEBUG_ICONTHEME)
{
if (!_gtk_icon_cache_validate (&info))
{