aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-format.c5
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 <clahey@helixcode.com>
+
+ * mail-format.c: Removed usage of bonobo_object_destroy.
+
2000-05-14 Christopher James Lahey <clahey@helixcode.com>
* 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;
}