From 6591528e95f139b1d3001bcb0632332ae1f5f9af Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 15 Aug 2005 19:36:32 +0000 Subject: [PATCH] Put debugging printout inside GTK_NOTE. 2005-08-15 Tor Lillqvist * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout inside GTK_NOTE. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkicontheme.c | 9 ++++++--- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 518541c52b..0ff75b44aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-15 Tor Lillqvist + + * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout + inside GTK_NOTE. + 2005-08-15 Owen Taylor * 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 + + * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout + inside GTK_NOTE. + 2005-08-15 Owen Taylor * 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 + + * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout + inside GTK_NOTE. + 2005-08-15 Owen Taylor * 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) {