From 4c924145768f2aea359f343b04d927eefa8043b1 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Tue, 10 Aug 2004 21:18:29 +0000 Subject: - Make history_finalize chain up to parent's finalize, #140663 * src/yelp-history.c: - Make history_finalize chain up to parent's finalize, #140663 --- ChangeLog | 5 +++++ src/yelp-history.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5ebb6ddb..ebbf39a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-08-10 Shaun McCance + + * src/yelp-history.c: + - Make history_finalize chain up to parent's finalize, #140663 + 2004-08-07 Shaun McCance * src/yelp-window.c: diff --git a/src/yelp-history.c b/src/yelp-history.c index 127304c0..b776fc30 100644 --- a/src/yelp-history.c +++ b/src/yelp-history.c @@ -40,6 +40,8 @@ enum { LAST_SIGNAL }; +static GObjectClass *parent_class; + static gint signals[LAST_SIGNAL] = { 0 }; struct _YelpHistoryPriv { @@ -95,6 +97,8 @@ history_class_init (YelpHistoryClass *klass) { GObjectClass *object_class; + parent_class = g_type_class_peek_parent (klass); + object_class = (GObjectClass *) klass; object_class->finalize = history_finalize; @@ -144,6 +148,8 @@ history_finalize (GObject *object) g_free (priv); history->priv = NULL; + + (* parent_class->finalize) (object); } static void -- cgit v1.2.1