mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13591 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ec2d9622e7
commit
cd7457cf8e
@ -72,7 +72,7 @@ static void
|
||||
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 @@ static gboolean
|
||||
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 @@ gnc_gobject_tracking_dump (void)
|
||||
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__);
|
||||
|
Loading…
Reference in New Issue
Block a user