Add annotations to g_dbus_proxy_new_sync
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Thu, 15 Jul 2010 13:32:45 +0000 (15:32 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Thu, 15 Jul 2010 13:33:16 +0000 (15:33 +0200)
gio/gdbusproxy.c

index 542a8e8..af7638f 100644 (file)
@@ -1701,12 +1701,12 @@ g_dbus_proxy_new_finish (GAsyncResult  *res,
  * g_dbus_proxy_new_sync:
  * @connection: A #GDBusConnection.
  * @flags: Flags used when constructing the proxy.
- * @info: A #GDBusInterfaceInfo specifying the minimal interface that @proxy conforms to or %NULL.
- * @name: A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
+ * @info: (allow-none): A #GDBusInterfaceInfo specifying the minimal interface that @proxy conforms to or %NULL.
+ * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
  * @object_path: An object path.
  * @interface_name: A D-Bus interface name.
- * @cancellable: A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
+ * @cancellable: (allow-none): A #GCancellable or %NULL.
+ * @error: (allow-none): Return location for error or %NULL.
  *
  * Creates a proxy for accessing @interface_name on the remote object
  * at @object_path owned by @name at @connection and synchronously