GNOME Bugzilla – Bug 700807
userWidget: Fix leaking instances
Last modified: 2013-05-21 20:00:17 UTC
Noticed this because of (lt-gnome-shell-real:13106): Clutter-CRITICAL **: clutter_text_get_editable: assertion `CLUTTER_IS_TEXT (self)' failed (lt-gnome-shell-real:13106): Clutter-CRITICAL **: clutter_text_get_text: assertion `CLUTTER_IS_TEXT (self)' failed (lt-gnome-shell-real:13106): Clutter-CRITICAL **: clutter_text_set_text: assertion `CLUTTER_IS_TEXT (self)' failed while changing the user account language in g-c-c after having locked and unlocked the session at least once.
Created attachment 244990 [details] [review] userWidget: Fix leaking instances UserWidget instances should be destroyed when the actor is. That's what consumer code expects since the destroy() method is never called.
Review of attachment 244990 [details] [review]: We should really move to inheriting from StWidget and overriding vfunc_destroy()...
Review of attachment 244990 [details] [review]: We tend to call the signal handlers "_onDestroy" in this case.
Pushed to master and 3.8 with Jasper's comment addressed. Attachment 244990 [details] pushed as 3754a76 - userWidget: Fix leaking instances