From 6dcf505346adcfaac639f0be074b5aec7f67f3f8 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Mon, 4 Apr 2011 10:01:51 +0200 Subject: [PATCH] GDBusServer: Documentation: Improvements. Provide a fuller description and lead people away if they arrived here just looking for a way to provide a regular D-Bus service. https://bugzilla.gnome.org/show_bug.cgi?id=646425 --- gio/gdbusserver.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gio/gdbusserver.c b/gio/gdbusserver.c index 964abe77f..ab0bad0f6 100644 --- a/gio/gdbusserver.c +++ b/gio/gdbusserver.c @@ -63,7 +63,13 @@ * @include: gio/gio.h * * #GDBusServer is a helper for listening to and accepting D-Bus - * connections. + * connections. This can be used to create a new D-Bus server, allowing two + * peers to use the D-Bus protocol for their own specialized communication. + * A server instance provided in this way will not perform message routing or + * implement the org.freedesktop.DBus interface. + * + * To just export an object on a well-known name on a message bus, such as the + * session or system bus, you should instead use g_bus_own_name(). * * D-Bus peer-to-peer exampleFIXME: MISSING XINCLUDE CONTENT */