Esempio n. 1
0
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);
}
Esempio n. 2
0
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;
}
Esempio n. 3
0
static void teardown_cb(struct test_fix *fix)
{
	util_call(fix, disable_session_mode, NULL);
	util_idle_call(fix, util_quit_loop, NULL);
}
Esempio n. 4
0
static void setup_cb(struct test_fix *fix)
{
	fix->manager_changed = manager_state_changed;

	util_call(fix, enable_session_mode, NULL);
}