rfkill: Check return value of g_dbus_connection_register_object()
@davidk
Submitted by David King Link to original bug (#704788)
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 rfkill plugin is one such example:
plugins/rfkill/gsd-rfkill-manager.c:263