** Fix for bnc bug #302038
authorSankar P <psankar@novell.com>
Mon, 3 Sep 2007 05:55:56 +0000 (05:55 +0000)
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>
Mon, 3 Sep 2007 05:55:56 +0000 (05:55 +0000)
2007-09-03  Sankar P  <psankar@novell.com>

** Fix for bnc bug #302038

* camel-groupwise-folder.c: (groupwise_refresh_folder),
(gw_update_cache), (gw_update_summary):
Debug statements should not be g_warnings.

svn path=/trunk/; revision=8029

camel/providers/groupwise/ChangeLog
camel/providers/groupwise/camel-groupwise-folder.c

index d19602d..25cdd9f 100644 (file)
@@ -1,3 +1,11 @@
+2007-09-03  Sankar P  <psankar@novell.com>
+
+       ** Fix for bnc bug #302038
+
+       * camel-groupwise-folder.c: (groupwise_refresh_folder),
+       (gw_update_cache), (gw_update_summary):
+       Debug statements should not be g_warnings.
+
 2007-08-23  Sankar P  <psankar@novell.com>
        
        ** Fix for bug #464636
index adc8f34..1d126cd 100644 (file)
@@ -95,7 +95,7 @@ static void gw_update_cache ( CamelFolder *folder, GList *item_list, CamelExcept
 static CamelMimeMessage *groupwise_folder_item_to_msg ( CamelFolder *folder, EGwItem *item, CamelException *ex );
 
 
-#define d(x) 
+#define d(x)  
 
 static CamelMimeMessage *
 groupwise_folder_get_message( CamelFolder *folder, const char *uid, CamelException *ex )
@@ -1017,7 +1017,7 @@ groupwise_refresh_folder(CamelFolder *folder, CamelException *ex)
        container_id = g_strdup (camel_groupwise_store_container_id_lookup (gw_store, folder->full_name)) ;
 
        if (!container_id) {
-               g_warning ("\nERROR - Container id not present. Cannot refresh info for %s\n", folder->full_name);
+               d (printf ("\nERROR - Container id not present. Cannot refresh info for %s\n", folder->full_name));
                return;
        }
 
@@ -1207,7 +1207,7 @@ gw_update_cache (CamelFolder *folder, GList *list, CamelException *ex, gboolean
        changes = camel_folder_change_info_new ();
        container_id = g_strdup (camel_groupwise_store_container_id_lookup (gw_store, folder->full_name));
        if (!container_id) {
-               g_warning ("\nERROR - Container id not present. Cannot refresh info\n");
+               d (printf("\nERROR - Container id not present. Cannot refresh info\n"));
                camel_folder_change_info_free (changes);
                return;
        }
@@ -1450,7 +1450,7 @@ gw_update_summary ( CamelFolder *folder, GList *list,CamelException *ex)
        changes = camel_folder_change_info_new ();
        container_id = g_strdup (camel_groupwise_store_container_id_lookup (gw_store, folder->full_name));
        if (!container_id) {
-               g_warning ("\nERROR - Container id not present. Cannot refresh info\n");
+               d (printf("\nERROR - Container id not present. Cannot refresh info\n"));
                camel_folder_change_info_free (changes);
                return;
        }