Method

GioDBusObjectManagerServerget_connection

since: 2.30

Declaration [src]

GDBusConnection*
g_dbus_object_manager_server_get_connection (
  GDBusObjectManagerServer* manager
)

Description [src]

Gets the GDBusConnection used by manager.

Available since: 2.30

Return value

Type: GDBusConnection

A GDBusConnection object or NULL if manager isn’t exported on a connection. The returned object should be freed with g_object_unref().

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.