diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/yelp-history.c | 6 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2004-08-10 Shaun McCance <shaunm@gnome.org> + + * src/yelp-history.c: + - Make history_finalize chain up to parent's finalize, #140663 + 2004-08-07 Shaun McCance <shaunm@gnome.org> * 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 |