evolution r36013 - trunk/e-util



Author: abharath
Date: Mon Aug 18 06:15:31 2008
New Revision: 36013
URL: http://svn.gnome.org/viewvc/evolution?rev=36013&view=rev

Log:
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.



Modified:
   trunk/e-util/ChangeLog
   trunk/e-util/e-icon-factory.c

Modified: trunk/e-util/e-icon-factory.c
==============================================================================
--- trunk/e-util/e-icon-factory.c	(original)
+++ trunk/e-util/e-icon-factory.c	Mon Aug 18 06:15:31 2008
@@ -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 @@
 		&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 @@
 		&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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]