diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-05-01 23:02:53 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-05-01 23:02:53 -0400 |
commit | f4cff2b923dd4df811327c9f199614dbfcbfe436 (patch) | |
tree | a7efa49019b9722898dd2c3978a816350f129a3a /gio/gdbusobjectproxy.c | |
parent | ddcb095fb22b6b3c865bbe3a86af6cadca4c8131 (diff) | |
download | glib-f4cff2b923dd4df811327c9f199614dbfcbfe436.tar.gz |
Some documentation additions
Diffstat (limited to 'gio/gdbusobjectproxy.c')
-rw-r--r-- | gio/gdbusobjectproxy.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gio/gdbusobjectproxy.c b/gio/gdbusobjectproxy.c index 46f249bed..2042b0743 100644 --- a/gio/gdbusobjectproxy.c +++ b/gio/gdbusobjectproxy.c @@ -189,7 +189,7 @@ g_dbus_object_proxy_get_object_path (GDBusObject *object) /** * g_dbus_object_proxy_get_connection: - * @proxy: A #GDBusObjectProxy. + * @proxy: a #GDBusObjectProxy * * Gets the connection that @proxy is for. * @@ -242,9 +242,21 @@ g_dbus_object_proxy_get_interfaces (GDBusObject *object) /* ---------------------------------------------------------------------------------------------------- */ +/** + * g_dbus_object_proxy_new: + * @connection: a #GDBusConnection + * @object_path: the object path + * + * Creates a new #GDBusObjectProxy for the given connection and + * object path. + * + * Returns: a new #GDBusObjectProxy + * + * Since: 2.30 + */ GDBusObjectProxy * g_dbus_object_proxy_new (GDBusConnection *connection, - const gchar *object_path) + const gchar *object_path) { g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), NULL); g_return_val_if_fail (g_variant_is_object_path (object_path), NULL); |