47
47
<a name="GoaChat.synopsis"></a><h2>Synopsis</h2>
48
48
<a name="GoaChatProxy"></a><a name="GoaChatSkeleton"></a><pre class="synopsis"> <a class="link" href="GoaChat.html#GoaChat-struct" title="GoaChat">GoaChat</a>;
49
49
struct <a class="link" href="GoaChat.html#GoaChatIface" title="struct GoaChatIface">GoaChatIface</a>;
50
<a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> * <a class="link" href="GoaChat.html#goa-chat-interface-info" title="goa_chat_interface_info ()">goa_chat_interface_info</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
51
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GoaChat.html#goa-chat-override-properties" title="goa_chat_override_properties ()">goa_chat_override_properties</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *klass</code></em>,
52
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id_begin</code></em>);
50
<span class="returnvalue">GDBusInterfaceInfo</span> * <a class="link" href="GoaChat.html#goa-chat-interface-info" title="goa_chat_interface_info ()">goa_chat_interface_info</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
51
<span class="returnvalue">guint</span> <a class="link" href="GoaChat.html#goa-chat-override-properties" title="goa_chat_override_properties ()">goa_chat_override_properties</a> (<em class="parameter"><code><span class="type">GObjectClass</span> *klass</code></em>,
52
<em class="parameter"><code><span class="type">guint</span> property_id_begin</code></em>);
53
53
struct <a class="link" href="GoaChat.html#GoaChatProxy-struct" title="struct GoaChatProxy">GoaChatProxy</a>;
54
54
struct <a class="link" href="GoaChat.html#GoaChatProxyClass" title="struct GoaChatProxyClass">GoaChatProxyClass</a>;
55
<span class="returnvalue">void</span> <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()">goa_chat_proxy_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
57
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
58
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
59
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
61
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
62
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-finish" title="goa_chat_proxy_new_finish ()">goa_chat_proxy_new_finish</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
63
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
64
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()">goa_chat_proxy_new_sync</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
65
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
66
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
67
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
68
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
69
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
70
<span class="returnvalue">void</span> <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()">goa_chat_proxy_new_for_bus</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
71
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
72
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
73
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
74
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
75
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
76
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
77
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-finish" title="goa_chat_proxy_new_for_bus_finish ()">goa_chat_proxy_new_for_bus_finish</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
78
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
79
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-sync" title="goa_chat_proxy_new_for_bus_sync ()">goa_chat_proxy_new_for_bus_sync</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
80
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
81
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
82
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
83
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
84
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
55
<span class="returnvalue">void</span> <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()">goa_chat_proxy_new</a> (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
56
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
57
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
58
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
59
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
60
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
61
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
62
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-finish" title="goa_chat_proxy_new_finish ()">goa_chat_proxy_new_finish</a> (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
63
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
64
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()">goa_chat_proxy_new_sync</a> (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
65
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
66
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
67
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
68
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
69
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
70
<span class="returnvalue">void</span> <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()">goa_chat_proxy_new_for_bus</a> (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
71
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
72
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
73
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
74
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
75
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
76
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
77
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-finish" title="goa_chat_proxy_new_for_bus_finish ()">goa_chat_proxy_new_for_bus_finish</a> (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
78
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
79
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-sync" title="goa_chat_proxy_new_for_bus_sync ()">goa_chat_proxy_new_for_bus_sync</a> (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
80
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
81
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
82
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
83
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
84
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
85
85
struct <a class="link" href="GoaChat.html#GoaChatSkeleton-struct" title="struct GoaChatSkeleton">GoaChatSkeleton</a>;
86
86
struct <a class="link" href="GoaChat.html#GoaChatSkeletonClass" title="struct GoaChatSkeletonClass">GoaChatSkeletonClass</a>;
87
87
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-skeleton-new" title="goa_chat_skeleton_new ()">goa_chat_skeleton_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
243
243
<div class="refsect2">
244
244
<a name="goa-chat-proxy-new"></a><h3>goa_chat_proxy_new ()</h3>
245
<pre class="programlisting"><span class="returnvalue">void</span> goa_chat_proxy_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
246
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
247
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
248
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
249
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
250
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
251
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
245
<pre class="programlisting"><span class="returnvalue">void</span> goa_chat_proxy_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
246
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
247
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
248
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
249
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
250
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
251
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
253
Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new"><code class="function">g_dbus_proxy_new()</code></a> for more details.
253
Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>. See <code class="function">g_dbus_proxy_new()</code> for more details.
256
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
256
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the thread-default main loop of the thread you are calling this method from.
257
257
You can then call <a class="link" href="GoaChat.html#goa-chat-proxy-new-finish" title="goa_chat_proxy_new_finish ()"><code class="function">goa_chat_proxy_new_finish()</code></a> to get the result of the operation.
333
333
<div class="refsect2">
334
334
<a name="goa-chat-proxy-new-sync"></a><h3>goa_chat_proxy_new_sync ()</h3>
335
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * goa_chat_proxy_new_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
336
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
337
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
338
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
339
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
340
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
335
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * goa_chat_proxy_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
336
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
337
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
338
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
339
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
340
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
342
Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new-sync"><code class="function">g_dbus_proxy_new_sync()</code></a> for more details.
342
Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>. See <code class="function">g_dbus_proxy_new_sync()</code> for more details.
345
345
The calling thread is blocked until a reply is received.
392
392
<div class="refsect2">
393
393
<a name="goa-chat-proxy-new-for-bus"></a><h3>goa_chat_proxy_new_for_bus ()</h3>
394
<pre class="programlisting"><span class="returnvalue">void</span> goa_chat_proxy_new_for_bus (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
395
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
396
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
397
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
398
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
399
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
400
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
394
<pre class="programlisting"><span class="returnvalue">void</span> goa_chat_proxy_new_for_bus (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
395
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
396
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
397
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
398
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
399
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
400
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
402
Like <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
402
Like <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.
405
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
405
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the thread-default main loop of the thread you are calling this method from.
406
406
You can then call <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-finish" title="goa_chat_proxy_new_for_bus_finish ()"><code class="function">goa_chat_proxy_new_for_bus_finish()</code></a> to get the result of the operation.
481
481
<div class="refsect2">
482
482
<a name="goa-chat-proxy-new-for-bus-sync"></a><h3>goa_chat_proxy_new_for_bus_sync ()</h3>
483
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * goa_chat_proxy_new_for_bus_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
484
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
485
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
486
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
487
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
488
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
483
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * goa_chat_proxy_new_for_bus_sync (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
484
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
485
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
486
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
487
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
488
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
490
Like <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()"><code class="function">goa_chat_proxy_new_sync()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
490
Like <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()"><code class="function">goa_chat_proxy_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.
493
493
The calling thread is blocked until a reply is received.