libbonobo r3494 - in trunk: . activation-server tests/test-activation
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: libbonobo r3494 - in trunk: . activation-server tests/test-activation
- Date: Thu, 11 Sep 2008 15:00:22 +0000 (UTC)
Author: tml
Date: Thu Sep 11 15:00:22 2008
New Revision: 3494
URL: http://svn.gnome.org/viewvc/libbonobo?rev=3494&view=rev
Log:
2008-09-11  Tor Lillqvist  <tml novell com>
	* activation-server/activation-server-main.c (main)
	* tests/test-activation/bonobo-activation-test.c (main)
	* tests/test-activation/empty-server.c (main): Call
	g_thread_init(NULL) here. It is the right thing to do, and in the
	future ORBit2 will enforce this, see bug #547885.
Modified:
   trunk/ChangeLog
   trunk/activation-server/activation-server-main.c
   trunk/tests/test-activation/bonobo-activation-test.c
   trunk/tests/test-activation/empty-server.c
Modified: trunk/activation-server/activation-server-main.c
==============================================================================
--- trunk/activation-server/activation-server-main.c	(original)
+++ trunk/activation-server/activation-server-main.c	Thu Sep 11 15:00:22 2008
@@ -462,6 +462,8 @@
 #endif
 #endif
 
+        g_thread_init (NULL);
+
 	g_set_prgname ("bonobo-activation-server");
 	ctx = g_option_context_new (NULL);
 	g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
Modified: trunk/tests/test-activation/bonobo-activation-test.c
==============================================================================
--- trunk/tests/test-activation/bonobo-activation-test.c	(original)
+++ trunk/tests/test-activation/bonobo-activation-test.c	Thu Sep 11 15:00:22 2008
@@ -206,6 +206,8 @@
         GTimer *timer = g_timer_new ();
 	Bonobo_EventSource event_source;
 	
+        g_thread_init (NULL);
+
 	CORBA_exception_init (&ev);
 
         bonobo_activation_object_directory_get (
Modified: trunk/tests/test-activation/empty-server.c
==============================================================================
--- trunk/tests/test-activation/empty-server.c	(original)
+++ trunk/tests/test-activation/empty-server.c	Thu Sep 11 15:00:22 2008
@@ -46,6 +46,8 @@
 	signal (SIGINT, do_exit);
 	signal (SIGTERM, do_exit);
 
+        g_thread_init (NULL);
+
 	CORBA_exception_init (&ev);
 	orb = bonobo_activation_init (argc, argv);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]