Re: bonobo issues.



> 	  * create bonobo_object_client_ref / unref: to allow the
> replacement of lines such as:
> 
> 	  Bonobo_Unknown_unref (bonobo_object_corba_objref (
> 		  BONOBO_OBJECT (client_site->bound_object)), &ev);
> 

Makes perfect sense.

> 	  I would prefer in many ways to encapsulate this into a single
> object client function:
> 
> 	  CORBA_Object 
> 	  bonobo_object_client_if (BonoboObjectClient *object_client,
> 				   const char *interface);
> 
> 	  so we can do:
> 
> 	  Bonobo_Embeddable_set_client_site (
> 		  bonobo_object_client_if (object,
> "IDL:Bonobo/Embeddable:1.0"),
> 		  bonobo_object_corba_objref (BONOBO_OBJECT (client_site)),
> 		  &ev);

This one seems terrible awkward.

Miguel.




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