Lines Matching defs:connection
15 /* PRIVATE get a connection to the session bus */
19 DBusGConnection *connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
21 fprintf(stderr, "Failed to get connection");
25 return connection;
30 dbus_get_proxy(DBusGConnection *connection) {
31 return dbus_g_proxy_new_for_name (connection,
40 dbus_register_object (DBusGConnection *connection,
48 dbus_g_connection_register_g_object (connection, path, object);
95 DBusGConnection *connection;
104 connection = dbus_g_bus_get (DBUS_BUS_SESSION,
106 if (connection == NULL)
108 g_printerr ("Failed to open connection to bus: %s\n",
114 proxy = dbus_g_proxy_new_for_name (connection,