aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}