diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-08-09 11:04:15 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-08-09 11:04:15 +0800 |
commit | d256cde05d619eb53188d1ef582f5c53ebebf689 (patch) | |
tree | 8e54ab5e0f15f8a9ba8807d7cbd8308862e1de3f /widgets/misc | |
parent | 5e76ce4cb4ea7db99e4b4229c0785dad8dc195ae (diff) | |
download | gsoc2013-evolution-d256cde05d619eb53188d1ef582f5c53ebebf689.tar gsoc2013-evolution-d256cde05d619eb53188d1ef582f5c53ebebf689.tar.gz gsoc2013-evolution-d256cde05d619eb53188d1ef582f5c53ebebf689.tar.bz2 gsoc2013-evolution-d256cde05d619eb53188d1ef582f5c53ebebf689.tar.lz gsoc2013-evolution-d256cde05d619eb53188d1ef582f5c53ebebf689.tar.xz gsoc2013-evolution-d256cde05d619eb53188d1ef582f5c53ebebf689.tar.zst gsoc2013-evolution-d256cde05d619eb53188d1ef582f5c53ebebf689.zip |
Chain to the destroy handler in the parent class!
2001-08-08 Federico Mena Quintero <federico@ximian.com>
* gal/widgets/e-selection-model-array.c (esma_destroy): Chain to
the destroy handler in the parent class!
* gal/widgets/e-selection-model.c (esm_destroy): Likewise. Sigh.
* gal/widgets/e-categories.c (e_categories_destroy): Likewise.
And make it static. Double sigh.
* gal/widgets/e-categories-master-list-array.c (ecmla_destroy):
Likewise. Triple sigh.
* gal/widgets/e-categories-master-list-dialog-model.c
(ecmldm_destroy): Likewise. Quadruple sigh.
svn path=/trunk/; revision=11810
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-selection-model-array.c | 3 | ||||
-rw-r--r-- | widgets/misc/e-selection-model.c | 3 |
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 |