aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-09 14:22:12 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-09 14:22:12 +0800
commit5f4ca361a05c2f7489ec1e78cede43d1c7e450ed (patch)
treed04d1b27e2257ef2c8dfade9ecd00f552682183f
parent70df9e5f0139016a592d911ae00167eeb900b307 (diff)
downloadgsoc2013-evolution-5f4ca361a05c2f7489ec1e78cede43d1c7e450ed.tar
gsoc2013-evolution-5f4ca361a05c2f7489ec1e78cede43d1c7e450ed.tar.gz
gsoc2013-evolution-5f4ca361a05c2f7489ec1e78cede43d1c7e450ed.tar.bz2
gsoc2013-evolution-5f4ca361a05c2f7489ec1e78cede43d1c7e450ed.tar.lz
gsoc2013-evolution-5f4ca361a05c2f7489ec1e78cede43d1c7e450ed.tar.xz
gsoc2013-evolution-5f4ca361a05c2f7489ec1e78cede43d1c7e450ed.tar.zst
gsoc2013-evolution-5f4ca361a05c2f7489ec1e78cede43d1c7e450ed.zip
Chain to the destroy handler in the parent class!
2001-08-09 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_destroy): Chain to the destroy handler in the parent class! * e-clipped-label.c (e_clipped_label_destroy): Likewise. Sigh. * e-dropdown-button.c (impl_destroy): Likewise. Double sigh. svn path=/trunk/; revision=11817
-rw-r--r--widgets/misc/ChangeLog11
-rw-r--r--widgets/misc/e-calendar-item.c3
-rw-r--r--widgets/misc/e-clipped-label.c3
-rw-r--r--widgets/misc/e-dropdown-button.c3
4 files changed, 19 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 593158cbeb..915a748d79 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,6 +1,15 @@
+2001-08-09 Federico Mena Quintero <federico@ximian.com>
+
+ * e-calendar-item.c (e_calendar_item_destroy): Chain to the
+ destroy handler in the parent class!
+
+ * e-clipped-label.c (e_clipped_label_destroy): Likewise. Sigh.
+
+ * e-dropdown-button.c (impl_destroy): Likewise. Double sigh.
+
2001-08-08 Anna Marie Dirks <anna@ximian.com>
+
* e-search-bar.c: Re-labeled the "Activate" button "Find Now".
-
2001-08-08 Ettore Perazzoli <ettore@ximian.com>
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c
index 80a8a5b655..2033f065f3 100644
--- a/widgets/misc/e-calendar-item.c
+++ b/widgets/misc/e-calendar-item.c
@@ -452,6 +452,9 @@ e_calendar_item_destroy (GtkObject *o)
gdk_font_unref (calitem->old_font);
if (calitem->old_week_number_font)
gdk_font_unref (calitem->old_week_number_font);
+
+ if (GTK_OBJECT_CLASS (parent_class)->destroy)
+ (* GTK_OBJECT_CLASS (parent_class)->destroy) (o);
}
diff --git a/widgets/misc/e-clipped-label.c b/widgets/misc/e-clipped-label.c
index 4cd6658f50..5841e70807 100644
--- a/widgets/misc/e-clipped-label.c
+++ b/widgets/misc/e-clipped-label.c
@@ -268,6 +268,9 @@ e_clipped_label_destroy (GtkObject *object)
g_free (label->label);
g_free (label->label_wc);
+
+ if (GTK_OBJECT_CLASS (parent_class)->destroy)
+ (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
diff --git a/widgets/misc/e-dropdown-button.c b/widgets/misc/e-dropdown-button.c
index 6beab161fa..21d8348c0c 100644
--- a/widgets/misc/e-dropdown-button.c
+++ b/widgets/misc/e-dropdown-button.c
@@ -110,6 +110,9 @@ impl_destroy (GtkObject *object)
gtk_widget_destroy (priv->menu);
g_free (priv);
+
+ if (GTK_OBJECT_CLASS (parent_class)->destroy)
+ (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}