aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-09 14:23:13 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-09 14:23:13 +0800
commit2f419416b8818dd448a4130322d6d8b25a3d2319 (patch)
tree41478ce33a35a50899149d427e41fea62135a2e3
parent5f4ca361a05c2f7489ec1e78cede43d1c7e450ed (diff)
downloadgsoc2013-evolution-2f419416b8818dd448a4130322d6d8b25a3d2319.tar.gz
gsoc2013-evolution-2f419416b8818dd448a4130322d6d8b25a3d2319.tar.zst
gsoc2013-evolution-2f419416b8818dd448a4130322d6d8b25a3d2319.zip
Chain to the destroy handler in the parent class!
2001-08-09 Federico Mena Quintero <federico@ximian.com> * e-component-registry.c (destroy): Chain to the destroy handler in the parent class! * e-shortcuts-view-model.c (impl_destroy): Likewise. Sigh. svn path=/trunk/; revision=11818
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-component-registry.c3
-rw-r--r--shell/e-shortcuts-view-model.c3
3 files changed, 13 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index c4e386fd0a..6523acfa49 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-09 Federico Mena Quintero <federico@ximian.com>
+
+ * e-component-registry.c (destroy): Chain to the destroy handler
+ in the parent class!
+
+ * e-shortcuts-view-model.c (impl_destroy): Likewise. Sigh.
+
2001-08-08 Ettore Perazzoli <ettore@ximian.com>
[Fixes, among other things, #5705, "Ampersands not handled
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index db957a6ea4..e37fa5fe43 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -256,6 +256,9 @@ destroy (GtkObject *object)
g_hash_table_destroy (priv->component_id_to_component);
g_free (priv);
+
+ if (GTK_OBJECT_CLASS (parent_class)->destroy)
+ (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
diff --git a/shell/e-shortcuts-view-model.c b/shell/e-shortcuts-view-model.c
index 43f026716e..dde93676cf 100644
--- a/shell/e-shortcuts-view-model.c
+++ b/shell/e-shortcuts-view-model.c
@@ -254,6 +254,9 @@ impl_destroy (GtkObject *object)
priv = view_model->priv;
g_free (priv);
+
+ if (GTK_OBJECT_CLASS (parent_class)->destroy)
+ (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}