From: Aleksander Morgado Date: Thu, 15 Nov 2012 08:31:14 +0000 (+0100) Subject: gdbus: improve documentation of the GDBusError section X-Git-Tag: 2.35.2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bf295bcd8d870997bb067adbddc5636f8bae9cf;p=platform%2Fupstream%2Fglib.git gdbus: improve documentation of the GDBusError section https://bugzilla.gnome.org/show_bug.cgi?id=688370 --- diff --git a/gio/gdbuserror.c b/gio/gdbuserror.c index f743226..685d853 100644 --- a/gio/gdbuserror.c +++ b/gio/gdbuserror.c @@ -96,7 +96,10 @@ * * With this setup, a D-Bus peer can transparently pass e.g. %FOO_BAR_ERROR_ANOTHER_ERROR and * other peers will see the D-Bus error name org.project.Foo.Bar.Error.AnotherError. - * If the other peer is using GDBus, the peer will see also %FOO_BAR_ERROR_ANOTHER_ERROR instead + * + * If the other peer is using GDBus, and has registered the association with + * g_dbus_error_register_error_domain() in advance (e.g. by invoking the %FOO_BAR_ERROR quark + * generation itself in the previous example) the peer will see also %FOO_BAR_ERROR_ANOTHER_ERROR instead * of %G_IO_ERROR_DBUS_ERROR. Note that GDBus clients can still recover * org.project.Foo.Bar.Error.AnotherError using g_dbus_error_get_remote_error(). *