Commit 4e09f86e authored by Owen Taylor's avatar Owen Taylor

*** empty log message ***

parent bf87b7c6
Sun Jul 2 17:43:41 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new
pango_layout_set_font_description to simplify.
Sun Jul 2 17:06:40 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkctree.c gtk/gtkhscale.c
......
Sun Jul 2 17:43:41 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new
pango_layout_set_font_description to simplify.
Sun Jul 2 17:06:40 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkctree.c gtk/gtkhscale.c
......
Sun Jul 2 17:43:41 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new
pango_layout_set_font_description to simplify.
Sun Jul 2 17:06:40 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkctree.c gtk/gtkhscale.c
......
Sun Jul 2 17:43:41 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new
pango_layout_set_font_description to simplify.
Sun Jul 2 17:06:40 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkctree.c gtk/gtkhscale.c
......
Sun Jul 2 17:43:41 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new
pango_layout_set_font_description to simplify.
Sun Jul 2 17:06:40 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkctree.c gtk/gtkhscale.c
......
Sun Jul 2 17:43:41 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new
pango_layout_set_font_description to simplify.
Sun Jul 2 17:06:40 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkctree.c gtk/gtkhscale.c
......
Sun Jul 2 17:43:41 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new
pango_layout_set_font_description to simplify.
Sun Jul 2 17:06:40 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkctree.c gtk/gtkhscale.c
......
......@@ -2522,16 +2522,12 @@ _gtk_clist_create_cell_layout (GtkCList *clist,
if (!text)
return NULL;
context = gtk_widget_create_pango_context (GTK_WIDGET (clist));
pango_context_set_font_description (context, style->font_desc);
layout = pango_layout_new (context);
layout = gtk_widget_create_pango_layout (GTK_WIDGET (clist));
pango_layout_set_font_description (layout, style->font_desc);
pango_layout_set_text (layout, ((cell->type == GTK_CELL_PIXTEXT) ?
GTK_CELL_PIXTEXT (*cell)->text :
GTK_CELL_TEXT (*cell)->text), -1);
g_object_unref (G_OBJECT (context));
return layout;
default:
......
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