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 | |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gtk/gtkicontheme.c | 9 |
4 files changed, 21 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2005-08-15 Tor Lillqvist <tml@novell.com> + + * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout + inside GTK_NOTE. + 2005-08-15 Owen Taylor <otaylor@redhat.com> * configure.in: Fix have_base_pc / have_base_x_pc typo. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 518541c52b..0ff75b44aa 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-08-15 Tor Lillqvist <tml@novell.com> + + * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout + inside GTK_NOTE. + 2005-08-15 Owen Taylor <otaylor@redhat.com> * configure.in: Fix have_base_pc / have_base_x_pc typo. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 518541c52b..0ff75b44aa 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2005-08-15 Tor Lillqvist <tml@novell.com> + + * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout + inside GTK_NOTE. + 2005-08-15 Owen Taylor <otaylor@redhat.com> * configure.in: Fix have_base_pc / have_base_x_pc typo. 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) { |