From 29a26b08f316cda0ebc08c89977caedea603bd9a Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 27 Jan 2003 04:59:48 +0000 Subject: [PATCH] init the layout to NULL. 2003-01-26 Chris Toshok * e-clipped-label.c (e_clipped_label_new): init the layout to NULL. svn path=/trunk/; revision=19639 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-clipped-label.c | 1 + 2 files changed, 6 insertions(+) diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 6ff9920510..d75d654f96 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-26 Chris Toshok + + * e-clipped-label.c (e_clipped_label_new): init the layout to + NULL. + 2003-01-23 Ettore Perazzoli * e-title-bar.c (e_title_bar_construct): Make the label bold using diff --git a/widgets/misc/e-clipped-label.c b/widgets/misc/e-clipped-label.c index 30c7eb6bba..820398e891 100644 --- a/widgets/misc/e-clipped-label.c +++ b/widgets/misc/e-clipped-label.c @@ -144,6 +144,7 @@ e_clipped_label_new (const gchar *text, clipped->font_size = font_size; clipped->font_weight = font_weight; + clipped->layout = NULL; build_layout (clipped, e_clipped_label_ellipsis); pango_layout_get_pixel_size (clipped->layout, &clipped->ellipsis_width, NULL);