------------------------------------------------------------ revno: 258 committer: Seif Lotfy <s...@lotfy.com> branch nick: bluebird timestamp: Sat 2011-09-17 22:55:02 +0200 message: fix remove issue in notify.vala and replaced it with remove_index modified: src/notify.vala
-- lp:~zeitgeist/zeitgeist/bluebird https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird. To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/notify.vala' --- src/notify.vala 2011-09-17 19:54:02 +0000 +++ src/notify.vala 2011-09-17 20:55:02 +0000 @@ -187,7 +187,16 @@ warning ("There's no monitor installed for %s", hash); if (connections.lookup (peer) != null) - connections.lookup (peer).remove (object_path); + { + for (int i = 0; i < connections.lookup (peer).length; i++) + { + if (connections.lookup (peer)[i] == object_path) + { + connections.lookup (peer).remove_index (i); + break; + } + } + } }
_______________________________________________ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp