static void teardown_cb(struct test_fix *fix, gconstpointer data) { util_call(fix, disable_session_mode, NULL); util_idle_call(fix, util_quit_loop, NULL); g_main_loop_run(fix->main_loop); util_teardown(fix, data); }
static void setup_cb(struct test_fix *fix, gconstpointer data) { fix->manager_changed = manager_state_changed; util_setup(fix, data); util_call(fix, enable_session_mode, NULL); g_main_loop_run(fix->main_loop); fix->manager_changed = NULL; }
static void teardown_cb(struct test_fix *fix) { util_call(fix, disable_session_mode, NULL); util_idle_call(fix, util_quit_loop, NULL); }
static void setup_cb(struct test_fix *fix) { fix->manager_changed = manager_state_changed; util_call(fix, enable_session_mode, NULL); }