commit | d43ade97b201dd7ab6e290fcad76e01e28243ac3 | [log] [tgz] |
---|---|---|
author | Luiz Augusto Von Dentz <luiz.dentz-von@nokia.com> | Fri Jan 08 12:17:19 2010 +0200 |
committer | Luiz Augusto Von Dentz <luiz.dentz-von@nokia.com> | Fri Jan 08 12:26:28 2010 +0200 |
tree | c0ac93b56e834ad44a77c2d4d59eb84dd307ae47 | |
parent | dc99234eb67565e3a76d20c8b53d11dff9af63e2 [diff] |
Fix regression when removing watches filter_data_find return the first data registered in this case so there is no guarantee that it return the same data as passed to filter_data_remove_callback which is the one that should be removed. The fix is to simple cache the connection removing the correct data before checking if there is any filter left.