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.
This commit is contained in:
Michael Fisher 2012-08-04 12:04:12 -05:00 committed by Ichthyostega
parent 708c977d57
commit fd95c74bb8

View file

@ -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());
}