aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-clipped-label.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-01-27 12:59:48 +0800
committerChris Toshok <toshok@src.gnome.org>2003-01-27 12:59:48 +0800
commit29a26b08f316cda0ebc08c89977caedea603bd9a (patch)
tree9cad5b3fa428089683069435fc9ce70928a58605 /widgets/misc/e-clipped-label.c
parent734a5f154e5b1cf1fc65d66a2a66a8916d8a05fd (diff)
downloadgsoc2013-evolution-29a26b08f316cda0ebc08c89977caedea603bd9a.tar.gz
gsoc2013-evolution-29a26b08f316cda0ebc08c89977caedea603bd9a.tar.zst
gsoc2013-evolution-29a26b08f316cda0ebc08c89977caedea603bd9a.zip
init the layout to NULL.
2003-01-26 Chris Toshok <toshok@ximian.com> * e-clipped-label.c (e_clipped_label_new): init the layout to NULL. svn path=/trunk/; revision=19639
Diffstat (limited to 'widgets/misc/e-clipped-label.c')
-rw-r--r--widgets/misc/e-clipped-label.c1
1 files changed, 1 insertions, 0 deletions
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);