Lines Matching defs:connection
52 /* PRIVATE get a connection to the session bus */
56 DBusGConnection *connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
58 fprintf(stderr, "Failed to get connection");
62 return connection;
67 dbus_get_proxy(DBusGConnection *connection) {
68 return dbus_g_proxy_new_for_name (connection,
76 dbus_register_object (DBusGConnection *connection,
84 dbus_g_connection_register_g_object (connection, path, object);
108 DBusGConnection *connection = dbus_get_connection();
109 DBusGProxy *proxy = dbus_get_proxy(connection);
112 if (!dbus_g_connection_lookup_g_object(connection, name.c_str())) {
114 DocumentInterface *doc_interface = (DocumentInterface*) dbus_register_object (connection,
137 DBusGConnection *connection;
139 connection = dbus_get_connection();
140 proxy = dbus_get_proxy(connection);
145 dbus_register_object (connection,
178 DBusGConnection *connection;
188 connection = dbus_get_connection();
189 proxy = dbus_get_proxy(connection);
191 DocumentInterface *doc_interface = (DocumentInterface*) dbus_register_object (connection,