From 058a550c571b3e77b0cef25bb287618b630a811e Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Sat, 30 Dec 2000 01:34:04 +0000 Subject: More bonobo property bag updates and stuff. svn path=/trunk/; revision=7194 --- .../evolution-services/executive-summary-component.c | 17 ++--------------- .../evolution-services/executive-summary-html-view.c | 1 + 2 files changed, 3 insertions(+), 15 deletions(-) (limited to 'executive-summary/evolution-services') diff --git a/executive-summary/evolution-services/executive-summary-component.c b/executive-summary/evolution-services/executive-summary-component.c index 96c50b1acb..d2dab70947 100644 --- a/executive-summary/evolution-services/executive-summary-component.c +++ b/executive-summary/evolution-services/executive-summary-component.c @@ -91,17 +91,6 @@ executive_summary_component_destroy (GtkObject *object) if (priv == NULL) return; - CORBA_exception_init (&ev); - -#if 0 - if (priv->owner_client != NULL) { - bonobo_object_unref (BONOBO_OBJECT (priv->owner_client)); - priv->owner_client = NULL; - } -#endif - - CORBA_exception_free (&ev); - g_free (priv); component->private = NULL; @@ -230,7 +219,6 @@ impl_GNOME_Evolution_Summary_ComponentFactory_createView (PortableServer_Servant ExecutiveSummaryComponentFactory *factory; ExecutiveSummaryComponentFactoryPrivate *priv; GNOME_Evolution_Summary_Component component, component_dup; - CORBA_Environment ev2; bonobo_object = bonobo_object_from_servant (servant); factory = EXECUTIVE_SUMMARY_COMPONENT_FACTORY (bonobo_object); @@ -240,9 +228,8 @@ impl_GNOME_Evolution_Summary_ComponentFactory_createView (PortableServer_Servant g_return_val_if_fail (view != NULL, CORBA_OBJECT_NIL); component = bonobo_object_corba_objref (BONOBO_OBJECT (view)); - CORBA_exception_init (&ev2); - component_dup = CORBA_Object_duplicate (component, &ev2); - CORBA_exception_free (&ev2); + + component_dup = CORBA_Object_duplicate (component, ev); return component_dup; } diff --git a/executive-summary/evolution-services/executive-summary-html-view.c b/executive-summary/evolution-services/executive-summary-html-view.c index 3e34ccb5c1..1792a5a53e 100644 --- a/executive-summary/evolution-services/executive-summary-html-view.c +++ b/executive-summary/evolution-services/executive-summary-html-view.c @@ -101,6 +101,7 @@ executive_summary_html_view_destroy (GtkObject *object) if (priv == NULL) return; + bonobo_object_unref (BONOBO_OBJECT (priv->event_source)); g_free (priv->html); g_free (priv); -- cgit v1.2.3