aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorBharath Acharya <abharath@novell.com>2008-08-18 14:15:31 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-08-18 14:15:31 +0800
commit3fb7b7d92bc6b23c7b71a472050fa4ffa7811d30 (patch)
tree0c1f1ce07088384db1719f0eaa36c9eb9ec84ad9 /e-util
parent3484a08528da879968543befafa4ad95ff2dc9a7 (diff)
downloadgsoc2013-evolution-3fb7b7d92bc6b23c7b71a472050fa4ffa7811d30.tar
gsoc2013-evolution-3fb7b7d92bc6b23c7b71a472050fa4ffa7811d30.tar.gz
gsoc2013-evolution-3fb7b7d92bc6b23c7b71a472050fa4ffa7811d30.tar.bz2
gsoc2013-evolution-3fb7b7d92bc6b23c7b71a472050fa4ffa7811d30.tar.lz
gsoc2013-evolution-3fb7b7d92bc6b23c7b71a472050fa4ffa7811d30.tar.xz
gsoc2013-evolution-3fb7b7d92bc6b23c7b71a472050fa4ffa7811d30.tar.zst
gsoc2013-evolution-3fb7b7d92bc6b23c7b71a472050fa4ffa7811d30.zip
Added a debug macro and turned it off.
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. svn path=/trunk/; revision=36013
Diffstat (limited to 'e-util')
-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;