Constructor

GioDBusProxynew_for_bus_finish

Declaration

GDBusProxy*
g_dbus_proxy_new_for_bus_finish (
  GAsyncResult* res,
  GError** error
)

Description

Finishes creating a GDBusProxy.

Available since:2.26

Parameters

res

Type: GAsyncResult

A GAsyncResult obtained from the GAsyncReadyCallback function passed to g_dbus_proxy_new_for_bus().

The data is owned by the caller of the function.
error

Type: GError **

The return location for a GError*, or NULL.

Return value

Type: GDBusProxy

A GDBusProxy or NULL if error is set. Free with g_object_unref().

The caller of the function takes ownership of the data, and is responsible for freeing it.