[libbonoboui] Bug #605621 - Don't pass NULL to G_OBJECT_GET_CLASS()
- From: Paul Bolle <pebolle src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libbonoboui] Bug #605621 - Don't pass NULL to G_OBJECT_GET_CLASS()
- Date: Mon, 4 Jan 2010 10:51:47 +0000 (UTC)
commit 49483084bc69d998246181f39462872311b7056c
Author: Paul Bolle <pebolle tiscali nl>
Date: Mon Dec 28 18:01:03 2009 +0100
Bug #605621 - Don't pass NULL to G_OBJECT_GET_CLASS()
bonobo/bonobo-ui-engine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bonobo/bonobo-ui-engine.c b/bonobo/bonobo-ui-engine.c
index 93e598c..a9a2e57 100644
--- a/bonobo/bonobo-ui-engine.c
+++ b/bonobo/bonobo-ui-engine.c
@@ -2374,7 +2374,7 @@ check_excess_widgets (BonoboUISync *sync, GList *wptr)
node = bonobo_ui_engine_widget_get_node (b->data);
g_message ("Widget type '%s' with node: '%s'",
- G_OBJECT_CLASS_NAME (G_OBJECT_GET_CLASS (b->data)) ? G_OBJECT_CLASS_NAME (G_OBJECT_GET_CLASS (b->data)) : "NULL",
+ b->data ? G_OBJECT_CLASS_NAME (G_OBJECT_GET_CLASS (b->data)) : "NULL",
node ? bonobo_ui_xml_make_path (node) : "NULL");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]