[Xfce-bugs] [Bug 2087] Use the slice allocator in netk

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Jul 30 18:05:50 CEST 2006


Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=2087





------- Comment #5 from benny at xfce.org  2006-07-30 16:05 UTC -------
(In reply to comment #4)
> * Use gtk_widget_destroy again to destroy the action menu.
>   This patch was added to libwnck, but it produces the
>   following warning:
>     called g_object_unref() on an object that had only a floating
>     reference; the initial floating reference is not owned by anyone
>     and must be removed with gtk_object_sink() after a normal
>     reference is obtained with g_object_ref().

g_object_ref()+gtk_object_sink() the menu after creating it, and
g_object_unref() it to delete it. gtk_widget_destroy()/gtk_object_destroy()
simply disposes the object and emits "destroy".


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Xfce-bugs mailing list