Check return value of g_dbus_connection_register_object(), use GCancellable
@davidk
Submitted by David King Link to original bug (#704783)
Description
As noticed by Bastien in bug 692771, comment 20, some uses of g_dbus_connection_register_object() do not check the return value, where 0 indicates an error. The media-keys plugin is one such example:
plugins/media-keys/gsd-media-keys-manager.c:2648
Just below that, the g_dbus_proxy_new() calls do not use GCancellable.