• Home
  • Raw
  • Download

Lines Matching refs:connection

71   GDBusConnection          *connection;  member
97 if (client->connection != NULL) in client_unref()
100 … g_signal_handler_disconnect (client->connection, client->disconnected_signal_handler_id); in client_unref()
102 … g_dbus_connection_signal_unsubscribe (client->connection, client->name_acquired_subscription_id); in client_unref()
104 … g_dbus_connection_signal_unsubscribe (client->connection, client->name_lost_subscription_id); in client_unref()
105 g_object_unref (client->connection); in client_unref()
131 GDBusConnection *connection; member
140 if (data->connection != NULL) in call_handler_data_free()
141 g_object_unref (data->connection); in call_handler_data_free()
147 actually_do_call (Client *client, GDBusConnection *connection, CallType call_type) in actually_do_call() argument
154 client->name_acquired_handler (connection, in actually_do_call()
163 client->name_lost_handler (connection, in actually_do_call()
179 actually_do_call (data->client, data->connection, data->call_type); in call_in_idle_cb()
191 data->connection = client->connection != NULL ? g_object_ref (client->connection) : NULL; in schedule_call_in_idle()
215 actually_do_call (client, client->connection, call_type); in do_call()
260 on_name_lost_or_acquired (GDBusConnection *connection, in on_name_lost_or_acquired() argument
357 GDBusConnection *connection = NULL; in request_name_cb() local
364 connection = g_object_ref (client->connection); in request_name_cb()
367 if (connection != NULL) in request_name_cb()
370 … g_dbus_connection_signal_unsubscribe (client->connection, client->name_acquired_subscription_id); in request_name_cb()
372 … g_dbus_connection_signal_unsubscribe (client->connection, client->name_lost_subscription_id); in request_name_cb()
376 g_object_unref (connection); in request_name_cb()
386 on_connection_disconnected (GDBusConnection *connection, in on_connection_disconnected() argument
394 g_signal_handler_disconnect (client->connection, client->disconnected_signal_handler_id); in on_connection_disconnected()
396 … g_dbus_connection_signal_unsubscribe (client->connection, client->name_acquired_subscription_id); in on_connection_disconnected()
398 g_dbus_connection_signal_unsubscribe (client->connection, client->name_lost_subscription_id); in on_connection_disconnected()
399 g_object_unref (client->connection); in on_connection_disconnected()
403 client->connection = NULL; in on_connection_disconnected()
414 client->disconnected_signal_handler_id = g_signal_connect (client->connection, in has_connection()
431 g_dbus_connection_signal_subscribe (client->connection, in has_connection()
442 g_dbus_connection_signal_subscribe (client->connection, in has_connection()
455 g_dbus_connection_call (client->connection, in has_connection()
488 client->connection = g_bus_get_finish (res, NULL); in connection_get_cb()
489 if (client->connection == NULL) in connection_get_cb()
504 client->bus_acquired_handler (client->connection, in connection_get_cb()
536 g_bus_own_name_on_connection (GDBusConnection *connection, in g_bus_own_name_on_connection() argument
546 g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), 0); in g_bus_own_name_on_connection()
562 client->connection = g_object_ref (connection); in g_bus_own_name_on_connection()
734 own_with_closures_on_bus_acquired (GDBusConnection *connection, in own_with_closures_on_bus_acquired() argument
742 g_value_set_object (&params[0], connection); in own_with_closures_on_bus_acquired()
754 own_with_closures_on_name_acquired (GDBusConnection *connection, in own_with_closures_on_name_acquired() argument
762 g_value_set_object (&params[0], connection); in own_with_closures_on_name_acquired()
774 own_with_closures_on_name_lost (GDBusConnection *connection, in own_with_closures_on_name_lost() argument
782 g_value_set_object (&params[0], connection); in own_with_closures_on_name_lost()
869 g_bus_own_name_on_connection_with_closures (GDBusConnection *connection, in g_bus_own_name_on_connection_with_closures() argument
875 return g_bus_own_name_on_connection (connection, in g_bus_own_name_on_connection_with_closures()
929 client->connection != NULL && in g_bus_unown_name()
930 !g_dbus_connection_is_closed (client->connection)) in g_bus_unown_name()
943 result = g_dbus_connection_call_sync (client->connection, in g_bus_unown_name()
975 g_signal_handler_disconnect (client->connection, client->disconnected_signal_handler_id); in g_bus_unown_name()
977 … g_dbus_connection_signal_unsubscribe (client->connection, client->name_acquired_subscription_id); in g_bus_unown_name()
979 … g_dbus_connection_signal_unsubscribe (client->connection, client->name_lost_subscription_id); in g_bus_unown_name()
983 if (client->connection != NULL) in g_bus_unown_name()
985 g_object_unref (client->connection); in g_bus_unown_name()
986 client->connection = NULL; in g_bus_unown_name()