aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-02 16:00:17 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-02 16:00:17 +0800
commitf6d3bfae5302fb0286b45f1f7da53903e494cd31 (patch)
treeeba0b83a7711a70a2c5021a838118c420927863b /widgets/misc
parentcf4ea0186605a54c6d41588f7d85a165c95f3f51 (diff)
downloadgsoc2013-evolution-f6d3bfae5302fb0286b45f1f7da53903e494cd31.tar.gz
gsoc2013-evolution-f6d3bfae5302fb0286b45f1f7da53903e494cd31.tar.zst
gsoc2013-evolution-f6d3bfae5302fb0286b45f1f7da53903e494cd31.zip
Free the finish data.
2000-06-02 Christopher James Lahey <clahey@helixcode.com> * widgets/misc/e-clipped-label.c: Free the finish data. svn path=/trunk/; revision=3384
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-clipped-label.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/widgets/misc/e-clipped-label.c b/widgets/misc/e-clipped-label.c
index e6666ae451..6f6fc9731d 100644
--- a/widgets/misc/e-clipped-label.c
+++ b/widgets/misc/e-clipped-label.c
@@ -48,6 +48,7 @@ static void e_clipped_label_size_allocate (GtkWidget *widget,
static gint e_clipped_label_expose (GtkWidget *widget,
GdkEventExpose *event);
static void e_clipped_label_recalc_chars_displayed (EClippedLabel *label);
+static void e_clipped_label_destroy (GtkObject *object);
static GtkMiscClass *parent_class;
@@ -100,6 +101,8 @@ e_clipped_label_class_init (EClippedLabelClass *class)
widget_class->size_allocate = e_clipped_label_size_allocate;
widget_class->expose_event = e_clipped_label_expose;
+ object_class->destroy = e_clipped_label_destroy;
+
e_clipped_label_ellipsis = _("...");
}
@@ -248,6 +251,20 @@ e_clipped_label_expose (GtkWidget *widget,
}
+static void
+e_clipped_label_destroy (GtkObject *object)
+{
+ EClippedLabel *label;
+
+ g_return_if_fail (E_IS_CLIPPED_LABEL (object));
+
+ label = E_CLIPPED_LABEL(object);
+
+ g_free (label->label);
+ g_free (label->label_wc);
+}
+
+
/**
* e_clipped_label_get_text:
*