the bonobo bits ...



Just annoying really - only affects non-base types really;

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.1137
diff -u -r1.1137 ChangeLog
--- ChangeLog	2001/10/30 23:31:12	1.1137
+++ ChangeLog	2001/10/31 10:38:23
@@ -1,3 +1,9 @@
+2001-11-01  Michael Meeks  <michael ximian com>
+
+	* bonobo/bonobo-property-bag-xml.c
+	(bonobo_property_bag_xml_decode_any): duplicate the
+	type correctly - depends on a new ORBit.
+
 2001-10-31  Michael Meeks  <michael ximian com>

 	* bonobo/bonobo-object.c (bonobo_unknown_ping): hold a
Index: bonobo/bonobo-property-bag-xml.c
===================================================================
RCS file: /cvs/gnome/bonobo/bonobo/bonobo-property-bag-xml.c,v
retrieving revision 1.16
diff -u -r1.16 bonobo-property-bag-xml.c
--- bonobo/bonobo-property-bag-xml.c	2001/02/22 18:49:02	1.16
+++ bonobo/bonobo-property-bag-xml.c	2001/10/31 10:38:25
@@ -718,7 +718,9 @@
 			(ORBit_free_childvals) ORBit_free_via_TypeCode,
 			GINT_TO_POINTER (1), sizeof(CORBA_TypeCode));
 		*(CORBA_TypeCode *)((char *) retval - sizeof
(ORBit_mem_info) -
-				    sizeof (CORBA_TypeCode)) = tc;
+				    sizeof (CORBA_TypeCode)) =
+			(CORBA_TypeCode) CORBA_Object_duplicate (
+				(CORBA_Object) tc, ev);
 	} else
 		retval = NULL;



-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




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