GNOME Bugzilla – Bug 704791
Check return value of g_dbus_connection_register_object()
Last modified: 2013-07-24 13:18:55 UTC
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 settings manager code is one such example: gnome-settings-daemon/gnome-settings-manager.c:358
commit f8bcc020c630aa8d8ecd1a7f5acda564fbd43d15 Author: Bastien Nocera <hadess@hadess.net> Date: Wed Jul 24 15:08:39 2013 +0200 main: Use GCancellable And check for g_dbus_connection_register_object()'s retval. https://bugzilla.gnome.org/show_bug.cgi?id=704791