From 6d9053a6a44d919dd3a531fee47603654172c0ec Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 16 May 2000 18:23:38 +0000 Subject: Removed usage of bonobo_object_destroy. 2000-05-16 Christopher James Lahey * mail-format.c: Removed usage of bonobo_object_destroy. svn path=/trunk/; revision=3094 --- mail/ChangeLog | 4 ++++ mail/mail-format.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index dc3a51f8fc..0d0782101b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2000-05-16 Christopher James Lahey + + * mail-format.c: Removed usage of bonobo_object_destroy. + 2000-05-14 Christopher James Lahey * message-list.c: Updated to work with new ETable resizing. diff --git a/mail/mail-format.c b/mail/mail-format.c index 486b4da0b5..8aafb4083b 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1006,8 +1006,7 @@ embeddable_destroy_cb (GtkObject *obj, gpointer user_data) bonobo_object_corba_objref (BONOBO_OBJECT(server)), &ev); CORBA_exception_free (&ev); - bonobo_object_destroy (BONOBO_OBJECT (vf)); - /* gtk_object_unref (obj); */ + bonobo_object_unref (BONOBO_OBJECT (vf)); } static void @@ -1049,7 +1048,7 @@ handle_via_bonobo (CamelMimePart *part, CamelMimeMessage *root, GtkBox *box) persist = (Bonobo_PersistStream) bonobo_object_client_query_interface ( server, "IDL:Bonobo/PersistStream:1.0", NULL); if (persist == CORBA_OBJECT_NIL) { - bonobo_object_destroy (BONOBO_OBJECT (embedded)); + bonobo_object_unref (BONOBO_OBJECT (embedded)); handle_undisplayable (part, root, box); return; } -- cgit