aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-selection-model-array.c3
-rw-r--r--widgets/misc/e-selection-model.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/widgets/misc/e-selection-model-array.c b/widgets/misc/e-selection-model-array.c
index de8265ce2a..9a23e4022b 100644
--- a/widgets/misc/e-selection-model-array.c
+++ b/widgets/misc/e-selection-model-array.c
@@ -109,6 +109,9 @@ esma_destroy (GtkObject *object)
gtk_object_unref(GTK_OBJECT(esma->eba));
esma->eba = NULL;
}
+
+ if (GTK_OBJECT_CLASS (parent_class)->destroy)
+ (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
static void
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c
index 5b53619519..538a767a74 100644
--- a/widgets/misc/e-selection-model.c
+++ b/widgets/misc/e-selection-model.c
@@ -61,6 +61,9 @@ esm_destroy (GtkObject *object)
esm = E_SELECTION_MODEL (object);
drop_sorter(esm);
+
+ if (e_selection_model_parent_class->destroy)
+ (* e_selection_model_parent_class->destroy) (object);
}
static void