From fd95c74bb86aebe6885877d5644c0275521862e1 Mon Sep 17 00:00:00 2001 From: Michael Fisher Date: Sat, 4 Aug 2012 12:04:12 -0500 Subject: [PATCH] Assertion to investigate GLib warnings trying to track down where these messages GLib-GObject-CRITICAL **: g_object_unref: assertion G_IS_OBJECT (object) failed are coming from. These appear when iconifying panels. --- src/gui/panels/panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/panels/panel.cpp b/src/gui/panels/panel.cpp index 1c4b40e3b..a284ca776 100644 --- a/src/gui/panels/panel.cpp +++ b/src/gui/panels/panel.cpp @@ -125,7 +125,7 @@ Panel::lock(bool lock) bool Panel::is_locked() const { - ////REQUIRE(dockItem != NULL); + REQUIRE(dockItem.gobj() != NULL); return !GDL_DOCK_ITEM_NOT_LOCKED(dockItem.gobj()); }