bonobo-activation per-display components fix



I finally sat down and fixed the "multiple nautilus on same machine with 
different displays doesn't work" boog. Here is the fix:

Index: server/object-directory-corba.c
===================================================================
RCS file: /cvs/gnome/bonobo-activation/server/object-directory-corba.c,v
retrieving revision 1.54
diff -u -p -r1.54 object-directory-corba.c
--- server/object-directory-corba.c	17 Dec 2002 11:02:09 -0000	1.54
+++ server/object-directory-corba.c	6 Feb 2003 11:33:04 -0000
@@ -638,10 +638,10 @@ add_active_server (impl_POA_Bonobo_Objec
 					servers, environment, object);
 
 		if (new_servers != servers) { /* Need to reset the pointer */
-			g_hash_table_steal (servant->active_server_lists, servers->iid);
+			g_hash_table_steal (servant->active_server_lists, new_servers->iid);
 
 			g_hash_table_insert (
-				servant->active_server_lists, servers->iid, new_servers);
+				servant->active_server_lists, new_servers->iid, new_servers);
 		}
 	}
 


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a gun-slinging day-dreaming senator with a passion for fast cars. She's a 
cold-hearted goth magician's assistant with a knack for trouble. They fight 
crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]