gdbus: Fix not calling disconnect function
authorSzymon Janc <szymon.janc@tieto.com>
Mon, 23 Feb 2015 18:33:00 +0000 (19:33 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 24 Feb 2015 17:24:42 +0000 (18:24 +0100)
commitd8edd4953542fb5e60f431afeb2e5900c7cbb502
treea0f32fbd38951c5862bdb38984307c33d0f6e705
parent8660527b11143f83fc4b4f891fab688996c3ee55
gdbus: Fix not calling disconnect function

If daemon gets disconnected from D-Bus sender is NULL. Watches that
was explicitly added with NULL sender (ie disconnected_signal in
g_dbus_set_disconnect_function) should be called anyway.
gdbus/watch.c