gdbus: Use destroy callback for service watch
authorAnderson Lizardo <anderson.lizardo@openbossa.org>
Tue, 3 Apr 2012 16:14:58 +0000 (12:14 -0400)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Apr 2012 15:07:14 +0000 (08:07 -0700)
commit633ef5a6817a59c061513125400064e039ddb852
treecec3453fb66b07c0678603a2a217dc75a27b33c0
parent640ba9b3e1d35d69413733ae6b8875ccc37393ac
gdbus: Use destroy callback for service watch

Even though service watches accepted a "destroy" callback, they were
being ignored. This fix properly pass them along so they are called when
the watch is removed.
gdbus/watch.c