The removed bonobo_*_get_epv() and the changed bonobo_*_construct() (was Re: GNOME CVS: bonobo michael)



Hi Michael,

I'm a bit confused here.

This change does not only break the freeze, it also makes it impossible
to create your own corba object which is a subclass of Bonobo::Control.

Why was this done, btw. ?

Martin

gnomecvs cvs gnome org (Gnome CVS User) writes:

> CVSROOT:	/cvs/gnome
> Module name:	bonobo
> Changes by:	michael	01/02/05 23:33:25
> 
> Modified files:
> 	.              : ChangeLog 
> 	bonobo         : bonobo-control.c bonobo-control.h 
> 	                 bonobo-object.c bonobo-ui-component.c 
> 	                 bonobo-ui-component.h bonobo-ui-container.c 
> 	                 bonobo-ui-container.h bonobo-view.c 
> 	                 bonobo-view.h bonobo-xobject.c bonobo-xobject.h 
> 	tests          : test-ui.c 
> Removed files:
> 	bonobo         : bonobo-ui-handler.h 
> 
> Log message:
> 2001-02-06  Michael Meeks  <michael ximian com>
> 
> * bonobo/bonobo-control.c (bonobo_control_destroy): chain to
> parent destroy method correctly.
> 
> * bonobo/bonobo-ui-container.c (bonobo_ui_container_class_init): setup
> the parent type nicely.
> (bonobo_ui_container_destroy, bonobo_ui_container_finalize):
> chain correctly to parents.
> 
> * bonobo/bonobo-ui-component.c (bonobo_ui_component_destroy): chain
> to parent destroy !
> 
> * bonobo/bonobo-xobject.c (corba_cleanup): release the
> servant before the object it references.
> (do_corba_hacks): update the orb's objref hash correctly.
> 
> * bonobo/bonobo-xobject.c (bonobo_x_type_unique): guard against
> re-enterancy.
> (dont_release): rename to
> (final_release): be more intelligent
> (bonobo_x_object_finalize_real): call try_finalize
> (try_finalize): impl - delay finalization until we have no
> CORBA objrefs left.
> 
> 2001-02-05  Michael Meeks  <michael ximian com>
> 
> * bonobo/bonobo-ui-component.c (bonobo_ui_component_get_type),
> (bonobo_ui_component_construct): upd.
> (bonobo_ui_component_corba_object_create): kill.
> (bonobo_ui_component_get_epv): move to
> (bonobo_ui_component_class_init): here and upd.
> (bonobo_ui_component_new): upd.
> 
> * bonobo/bonobo-ui-container.c (bonobo_ui_container_construct),
> (bonobo_ui_container_corba_object_create): kill.
> (bonobo_ui_container_new): upd.
> (bonobo_ui_container_get_type): upd.
> (bonobo_ui_container_get_epv): move
> (bonobo_ui_container_class_init): to here & upd.
> 
> * bonobo/bonobo-xobject.c (dont_release): update to work.
> (bonobo_x_object_instance_init): calm debug.
> (setup_type): ditto.
> 
> * bonobo/bonobo-view.c (bonobo_view_construct),
> (bonobo_view_new, bonobo_view_get_type): upd.
> (bonobo_view_corba_object_create): kill.
> (bonobo_view_get_epv): move into
> (bonobo_view_class_init): here & upd.
> (init_view_corba_class): kill.
> 
> * bonobo/bonobo-control.c (bonobo_control_construct),
> (bonobo_control_new, bonobo_control_get_type): upd.
> (bonobo_control_corba_object_create): kill.
> (init_control_corba_class): kill.
> (bonobo_control_get_epv): move into
> (bonobo_control_class_init): here & upd.
> 
> * bonobo/bonobo-xobject.c (setup_type): update EPV
> build strategy - more speed & slickness.
> 
> 
> _______________________________________________
> cvs-commits-list mailing list
> cvs-commits-list gnome org
> http://mail.gnome.org/mailman/listinfo/cvs-commits-list
> 

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




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