the GUID to use if authenticating as a server or NULL
flags describing how to make the connection
a gio.DBusAuthObserver or NULL
a gio.Cancellable or NULL
a gio.DBusConnection or NULL if error is set. Free with g_object_unref().
GException on failure. ConstructionException GTK+ fails to create the object.
2.26
Synchronously sets up a D-Bus connection for exchanging D-Bus messages with the end represented by stream.
If stream is a gio.SocketConnection, then the corresponding atk.Socket will be put into non-blocking mode.
The D-Bus connection will interact with stream from a worker thread. As a result, the caller should not interact with stream after this method has been called, except by calling g_object_unref() on it.
If observer is not NULL it may be used to control the authentication process.
This is a synchronous failable constructor. See g_dbus_connection_new() for the asynchronous version.