From c224a149c56ec14cb270c61ec8927d84bc3a5a99 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Sat, 9 Dec 2000 02:08:36 +0000 Subject: Call the parent class destroyer as well 2000-12-08 JP Rosevear * e-calendar.c (e_calendar_destroy): Call the parent class destroyer as well svn path=/trunk/; revision=6881 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-calendar.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index e0905c39db..67ac9f0358 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2000-12-08 JP Rosevear + + * e-calendar.c (e_calendar_destroy): Call the parent class destroyer + as well + 2000-10-26 Damon Chaplin * e-dateedit.[hc]: updated to emit "changed" when appropriate, which diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c index 01882a41da..d0062a4fed 100644 --- a/widgets/misc/e-calendar.c +++ b/widgets/misc/e-calendar.c @@ -276,6 +276,9 @@ e_calendar_destroy (GtkObject *object) gtk_timeout_remove (cal->timeout_id); cal->timeout_id = 0; } + + if (GTK_OBJECT_CLASS (parent_class)->destroy) + (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } -- cgit