Commit 3324d4e7 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Duplicate the object before returning to ORBit.

1999-05-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/corba-workbook.c (corba_sheet): Duplicate the object before
	returning to ORBit.
parent 9d08c0ae
1999-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/corba-workbook.c (corba_sheet): Duplicate the object before
returning to ORBit.
1999-05-07 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-eng.c: Added COMPLEX(), IMABS(), IMAGINARY(), IMREAL().
......
1999-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/corba-workbook.c (corba_sheet): Duplicate the object before
returning to ORBit.
1999-05-07 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-eng.c: Added COMPLEX(), IMABS(), IMAGINARY(), IMREAL().
......
1999-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/corba-workbook.c (corba_sheet): Duplicate the object before
returning to ORBit.
1999-05-07 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-eng.c: Added COMPLEX(), IMABS(), IMAGINARY(), IMREAL().
......
1999-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/corba-workbook.c (corba_sheet): Duplicate the object before
returning to ORBit.
1999-05-07 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-eng.c: Added COMPLEX(), IMABS(), IMAGINARY(), IMREAL().
......
......@@ -68,7 +68,7 @@ WorkbookFactory_create_object (PortableServer_Servant servant,
CORBA_Environment *ev)
{
Workbook *workbook;
if (strcmp (goad_id, "IDL:GNOME:Gnumeric:Workbook:1.0") != 0){
CORBA_exception_set (ev, CORBA_USER_EXCEPTION,
ex_GNOME_GenericFactory_CannotActivate,
......
......@@ -33,7 +33,7 @@ workbook_from_servant (PortableServer_Servant servant)
static inline GNOME_Gnumeric_Sheet
corba_sheet (Sheet *sheet)
{
return sheet->corba_server;
return CORBA_Object_duplicate (sheet->corba_server);
}
static GNOME_Gnumeric_Sheet
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment