aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-icon-factory.c9
2 files changed, 10 insertions, 4 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 94a063ff3b..b227df58fe 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-18 Bharath Acharya <abharath@novell.com>
+
+ * e-icon-factory.c: (e_icon_factory_get_icon_filename),
+ (e_icon_factory_get_icon): Added a debug macro and turned it off.
+
2008-08-16 Gilles Dartiguelongue <gdartigu@svn.gnome.org>
* e-icon-factory.c: (e_icon_size_to_gtk_icon_size),
diff --git a/e-util/e-icon-factory.c b/e-util/e-icon-factory.c
index e1e60f91fd..aa053001c5 100644
--- a/e-util/e-icon-factory.c
+++ b/e-util/e-icon-factory.c
@@ -41,6 +41,7 @@
#include "art/broken-image-16.xpm"
#include "art/broken-image-24.xpm"
+#define d(x)
typedef struct {
char *name;
@@ -278,8 +279,8 @@ e_icon_factory_get_icon_filename (const char *icon_name, int icon_size)
&width, &height))
return NULL;
- g_message ("Size is %d", icon_size);
- g_message ("looking up %s at %dx%d", icon_name, width, height);
+ d(g_message ("Size is %d", icon_size));
+ d(g_message ("looking up %s at %dx%d", icon_name, width, height));
g_static_mutex_lock (&mutex);
icon_info = gtk_icon_theme_lookup_icon (
@@ -330,8 +331,8 @@ e_icon_factory_get_icon (const char *icon_name, int icon_size)
&width, &height))
return NULL;
- g_message ("Size is %d", icon_size);
- g_message ("looking up %s at %dx%d", icon_name, width, height);
+ d(g_message ("Size is %d", icon_size));
+ d(g_message ("looking up %s at %dx%d", icon_name, width, height));
size = height;