Method

GioDBusProxycall_finish

Declaration

GVariant*
g_dbus_proxy_call_finish (
  GDBusProxy* proxy,
  GAsyncResult* res,
  GError** error
)

Description

Finishes an operation started with g_dbus_proxy_call().

Available since:2.26

Parameters

res

Type: GAsyncResult

A GAsyncResult obtained from the GAsyncReadyCallback passed to g_dbus_proxy_call().

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

Type: GError **

The return location for a GError*, or NULL.

Return value

Type: GVariant

NULL if error is set. Otherwise a GVariant tuple with return values. Free with g_variant_unref().

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