summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2004-08-10 21:18:29 +0000
committerShaun McCance <shaunm@src.gnome.org>2004-08-10 21:18:29 +0000
commit4c924145768f2aea359f343b04d927eefa8043b1 (patch)
tree80ede18a22144e70c2879a241c87ff05f77c7a7d
parentc4f1a917d709296e146b12a3f733775f06f72640 (diff)
downloadyelp-4c924145768f2aea359f343b04d927eefa8043b1.tar.gz
- Make history_finalize chain up to parent's finalize, #140663
* src/yelp-history.c: - Make history_finalize chain up to parent's finalize, #140663
-rw-r--r--ChangeLog5
-rw-r--r--src/yelp-history.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ebb6ddb..ebbf39a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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