-
Committer:
Tarmac
-
Author(s):
Ryan Lortie
-
Date:
2012-02-28 16:00:11 UTC
-
mfrom:
(451.1.1 bamf)
-
Revision ID:
tarmac-20120228160011-5p4pxdibr3zp8syq
In libbamf BamfMatcher Don't ref/unref views when they are opened/closed
When a "Opened" signal comes from bamf, the client side matcher gets the view for the path and refs it. on "Closed" it unrefs it.
the problem comes when you close a window that was open when the application using bamf started running. in that case, the client library sees "Closed" with no "Opened" and drops a reference that it doesn't own.
UNBLOCK. Fixes: https://bugs.launchpad.net/bugs/942070. Approved by Marco Trevisan (Treviño).