[Nice] [nice/master] Don't test role conflict in thread test yet

Olivier Crête olivier.crete at collabora.co.uk
Wed Nov 5 14:01:11 PST 2008


---
 agent/test-thread.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/agent/test-thread.c b/agent/test-thread.c
index 6ba9083..f76470c 100644
--- a/agent/test-thread.c
+++ b/agent/test-thread.c
@@ -203,6 +203,9 @@ int main (void)
   g_object_set_data (G_OBJECT (lagent), "other-agent", ragent);
   g_object_set_data (G_OBJECT (ragent), "other-agent", lagent);
 
+  g_object_set (G_OBJECT (lagent), "controlling-mode", TRUE, NULL);
+  g_object_set (G_OBJECT (ragent), "controlling-mode", FALSE, NULL);
+
   /* step: add a timer to catch state changes triggered by signals */
   timer_id = g_timeout_add (30000, timer_cb, NULL);
 
-- 
1.5.6.5




More information about the Nice mailing list