[evolution-data-server] Remember to chain up in dispose() methods.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remember to chain up in dispose() methods.
- Date: Mon, 27 Dec 2010 20:14:25 +0000 (UTC)
commit f57b6f3be2f548819d4b5909fb2103c5e81356f6
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Dec 27 15:12:15 2010 -0500
Remember to chain up in dispose() methods.
addressbook/libebook/e-book-view.c | 3 +++
libedataserver/e-proxy.c | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libebook/e-book-view.c b/addressbook/libebook/e-book-view.c
index 5914905..93ce01b 100644
--- a/addressbook/libebook/e-book-view.c
+++ b/addressbook/libebook/e-book-view.c
@@ -301,6 +301,9 @@ e_book_view_dispose (GObject *object)
g_object_unref (book_view->priv->book);
book_view->priv->book = NULL;
}
+
+ /* Chain up to parent's dispose() method. */
+ G_OBJECT_CLASS (e_book_view_parent_class)->dispose (object);
}
static void
diff --git a/libedataserver/e-proxy.c b/libedataserver/e-proxy.c
index f0a6236..5953379 100644
--- a/libedataserver/e-proxy.c
+++ b/libedataserver/e-proxy.c
@@ -245,6 +245,9 @@ e_proxy_dispose (GObject *object)
g_free (priv);
priv = NULL;
}
+
+ /* Chain up to parent's dispose() method. */
+ G_OBJECT_CLASS (e_proxy_parent_class)->dispose (object);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]