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
This commit is contained in:
committed by
Chris Toshok
parent
734a5f154e
commit
29a26b08f3
@@ -1,3 +1,8 @@
|
||||
2003-01-26 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* e-clipped-label.c (e_clipped_label_new): init the layout to
|
||||
NULL.
|
||||
|
||||
2003-01-23 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* e-title-bar.c (e_title_bar_construct): Make the label bold using
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user