[Gnucash-changes] r13591 - gnucash/trunk/src/core-utils - Change the output from this file to use g_message instead of g_warning

David Hampton hampton at cvs.gnucash.org
Fri Mar 10 18:06:18 EST 2006


Author: hampton
Date: 2006-03-10 18:06:17 -0500 (Fri, 10 Mar 2006)
New Revision: 13591
Trac: http://svn.gnucash.org/trac/changeset/13591

Modified:
   gnucash/trunk/src/core-utils/gnc-gobject-utils.c
Log:
Change the output from this file to use g_message instead of g_warning
so the --g-fatal-warnings argument doesn't trip over it.


Modified: gnucash/trunk/src/core-utils/gnc-gobject-utils.c
===================================================================
--- gnucash/trunk/src/core-utils/gnc-gobject-utils.c	2006-03-10 22:16:15 UTC (rev 13590)
+++ gnucash/trunk/src/core-utils/gnc-gobject-utils.c	2006-03-10 23:06:17 UTC (rev 13591)
@@ -72,7 +72,7 @@
 gnc_gobject_dump_gobject (GObject *object, const gchar *name)
 {
   //printf("Enter %s: object %p, name %s\n", __FUNCTION__, object, name);
-  g_warning("    object %p, ref count %d", object, object->ref_count);
+  g_message("    object %p, ref count %d", object, object->ref_count);
   //printf("Leave %s:\n", __FUNCTION__);
 }
 
@@ -87,7 +87,7 @@
 gnc_gobject_dump_list (const gchar *name, GList *list, gpointer user_data)
 {
   //printf("Enter %s: name %s, list %p\n", __FUNCTION__, name, list);
-  g_warning("  %d %s", g_list_length(list), name);
+  g_message("  %d %s", g_list_length(list), name);
   g_list_foreach(list, (GFunc)gnc_gobject_dump_gobject, (gpointer)name);
   //printf("Leave %s:\n", __FUNCTION__);
   return TRUE;
@@ -109,7 +109,7 @@
   table = gnc_gobject_tracking_table();
 
   if (g_hash_table_size(table) > 0) {
-    g_warning("The following objects remain alive:");
+    g_message("The following objects remain alive:");
     g_hash_table_foreach_remove(table, (GHRFunc)gnc_gobject_dump_list, NULL);
   }
   //printf("Leave %s:\n", __FUNCTION__);



More information about the gnucash-changes mailing list