diff options
author | Tor Lillqvist <tml@novell.com> | 2005-08-15 19:36:32 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-08-15 19:36:32 +0000 |
commit | 6591528e95f139b1d3001bcb0632332ae1f5f9af (patch) | |
tree | c285f55066f7fbf048f92a8218b1e6ba2b91f07e /gtk/gtkicontheme.c | |
parent | 013a0b0f11ff9520feffcfd29ed54390578f3ac0 (diff) | |
download | gtk+-6591528e95f139b1d3001bcb0632332ae1f5f9af.tar.gz |
Put debugging printout inside GTK_NOTE.
2005-08-15 Tor Lillqvist <tml@novell.com>
* gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
inside GTK_NOTE.
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r-- | gtk/gtkicontheme.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 8a8873fb8a..267c23418f 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -1181,7 +1181,8 @@ gtk_icon_theme_lookup_icon (GtkIconTheme *icon_theme, priv = icon_theme->priv; - g_print ("gtk_icon_theme_lookup_icon %s\n", icon_name); + GTK_NOTE (ICONTHEME, + g_print ("gtk_icon_theme_lookup_icon %s\n", icon_name)); if (flags & GTK_ICON_LOOKUP_NO_SVG) allow_svg = FALSE; else if (flags & GTK_ICON_LOOKUP_FORCE_SVG) @@ -1776,7 +1777,8 @@ theme_dir_get_icon_suffix (IconThemeDir *dir, else suffix = GPOINTER_TO_UINT (g_hash_table_lookup (dir->icons, icon_name)); - g_print ("get_icon_suffix%s %d\n", dir->cache ? " (cached)" : "", suffix); + GTK_NOTE (ICONTHEME, + g_print ("get_icon_suffix%s %d\n", dir->cache ? " (cached)" : "", suffix)); return suffix; } @@ -1818,7 +1820,8 @@ theme_lookup_icon (IconTheme *theme, { dir = l->data; - g_print ("theme_lookup_icon dir %s\n", dir->dir); + GTK_NOTE (ICONTHEME, + g_print ("theme_lookup_icon dir %s\n", dir->dir)); suffix = theme_dir_get_icon_suffix (dir, icon_name, NULL); if (best_suffix (suffix, allow_svg) != ICON_SUFFIX_NONE) { |