Don't worry Ryan, it is not your fault!

It seems like Indicator's gobject lifecycle is a bit wrong. I have a
suspicion that Indicator instances are not being disposed of (not just
in Python). I'll file a bug for that with a more in depth analysis, and
put it as a blocker for this bug (if I figure out now).

In the meantime, you could use the hide() method instead of removing.
This is what pidgin does, and I don't believe the indicators or being
disposed there either...

** Attachment added: "Test case"
   http://launchpadlibrarian.net/24843063/bug_346476.py

-- 
object->ref_count > 0 failed in python bindings
https://bugs.launchpad.net/bugs/346476
You received this bug notification because you are a member of Indicator
Applet Developers, which is the registrant for Indicator Applet.

Status in Indicator Applet: New

Bug description:
When indicator items are removed and freed in Gwibber, the following error 
messages appears at the terminal:

./bin/gwibber:75: Warning: g_object_unref: assertion `object->ref_count > 0' 
failed
  gtk.main()
/home/segphault/project/gwibber/main/gwibber/client.py:318: Warning: 
g_object_unref: assertion `object->ref_count > 0' failed
  self.indicator_items = {}

This is the method in Gwibber that is causing the error message to appear:
http://bazaar.launchpad.net/~gwibber-committers/gwibber/trunk/annotate/head%3A/gwibber//client.py#L315

_______________________________________________
Mailing list: https://launchpad.net/~dx-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dx-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to