aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-17 02:23:38 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-17 02:23:38 +0800
commit6d9053a6a44d919dd3a531fee47603654172c0ec (patch)
treede0f80e4164961def0bd1d14ad23d7736a3b9ffb
parentd6db70c32dafe0acde40893893d37eb05564967c (diff)
downloadgsoc2013-evolution-6d9053a6a44d919dd3a531fee47603654172c0ec.tar
gsoc2013-evolution-6d9053a6a44d919dd3a531fee47603654172c0ec.tar.gz
gsoc2013-evolution-6d9053a6a44d919dd3a531fee47603654172c0ec.tar.bz2
gsoc2013-evolution-6d9053a6a44d919dd3a531fee47603654172c0ec.tar.lz
gsoc2013-evolution-6d9053a6a44d919dd3a531fee47603654172c0ec.tar.xz
gsoc2013-evolution-6d9053a6a44d919dd3a531fee47603654172c0ec.tar.zst
gsoc2013-evolution-6d9053a6a44d919dd3a531fee47603654172c0ec.zip
Removed usage of bonobo_object_destroy.
2000-05-16 Christopher James Lahey <clahey@helixcode.com> * mail-format.c: Removed usage of bonobo_object_destroy. svn path=/trunk/; revision=3094
-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;
}