Commit 6162f9d5 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Use _static variants when copying and merging short-lived Pango layouts.

2006-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrenderertext.c (get_size): Use _static variants when
	copying and merging short-lived Pango layouts. (#340033, Morten Welinder)
parent 0bce92f6
2006-04-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (get_size): Use _static variants when
copying and merging short-lived Pango layouts. (#340033, Morten Welinder)
2006-04-28 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkwidget.c (gtk_widget_create_pango_layout): Fix typo in
......
2006-04-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (get_size): Use _static variants when
copying and merging short-lived Pango layouts. (#340033, Morten Welinder)
2006-04-28 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkwidget.c (gtk_widget_create_pango_layout): Fix typo in
......
......@@ -1497,8 +1497,8 @@ get_size (GtkCellRenderer *cell,
PangoFontDescription *font_desc;
gint row_height;
font_desc = pango_font_description_copy (widget->style->font_desc);
pango_font_description_merge (font_desc, celltext->font, TRUE);
font_desc = pango_font_description_copy_static (widget->style->font_desc);
pango_font_description_merge_static (font_desc, celltext->font, TRUE);
if (celltext->scale_set)
pango_font_description_set_size (font_desc,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment