Lines Matching full:session
69 DBusConnection *session;
83 session = dbus_bus_get (DBUS_BUS_SESSION, &error);
84 if (!session)
85 die ("couldn't access session bus\n");
86 dbus_connection_set_exit_on_disconnect (session, FALSE);
87 test_connection_setup (loop, session);
89 dbus_bus_add_match (session, PRIVSERVER_DIED_RULE, &error);
94 if (!dbus_connection_add_filter (session, filter_session_message,
96 die ("couldn't add filter to session bus\n");
100 if (!(reply = dbus_connection_send_with_reply_and_block (session, msg, -1, &error)))
127 if (!dbus_connection_send (session, msg, NULL))
134 dbus_connection_remove_filter (session, filter_session_message,
136 dbus_bus_remove_match (session, PRIVSERVER_DIED_RULE, NULL);
137 test_connection_shutdown (loop, session);
138 dbus_connection_unref (session);