Function

GioBusAcquiredCallback

Declaration

void
(* GBusAcquiredCallback) (
  GDBusConnection* connection,
  const gchar* name,
  gpointer user_data
)

Description

Invoked when a connection to a message bus has been obtained.

Available since:2.26

Parameters

connection GDBusConnection
 

The GDBusConnection to a message bus.

 The data is owned by the caller of the function.
name const gchar*
 

The name that is requested to be owned.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
user_data gpointer
 

User data passed to g_bus_own_name().

 The argument can be NULL.
 The data is owned by the caller of the function.