diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-15 09:31:14 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-15 22:24:54 +0100 |
commit | 8bf295bcd8d870997bb067adbddc5636f8bae9cf (patch) | |
tree | 75a68af3733d28944711b7e4178245d714efbc69 /gio | |
parent | 2628dc2c09ea7658aebf810d9db90070e3be301d (diff) | |
download | glib-8bf295bcd8d870997bb067adbddc5636f8bae9cf.tar.gz |
gdbus: improve documentation of the GDBusError section
https://bugzilla.gnome.org/show_bug.cgi?id=688370
Diffstat (limited to 'gio')
-rw-r--r-- | gio/gdbuserror.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gio/gdbuserror.c b/gio/gdbuserror.c index f743226ec..685d85382 100644 --- a/gio/gdbuserror.c +++ b/gio/gdbuserror.c @@ -96,7 +96,10 @@ * </programlisting></example> * 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 <literal>org.project.Foo.Bar.Error.AnotherError</literal>. - * 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 * <literal>org.project.Foo.Bar.Error.AnotherError</literal> using g_dbus_error_get_remote_error(). * |