GNOME Bugzilla – Bug 646419
g_dbus_connection_register_object() docs should explain NULL vtable
Last modified: 2011-04-02 13:13:06 UTC
g_dbus_connection_register_object() is documented as accepting a NULL vtable http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#g-dbus-connection-register-object but it doesn't say why you would want to do that. I don't see the point of registering an object that has no API.
I think I was thinking "marker interfaces" when I wrote this. http://en.wikipedia.org/wiki/Marker_interface_pattern
Might be good to mention the 'marker interface' pattern in the docs then.
Thanks. The commit was: http://git.gnome.org/browse/glib/commit/?h=glib-2-28&id=471498c62119ccd8ad34a6a2d49b3935e470f255