diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-06-14 20:41:44 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-06-14 20:41:44 +0000 |
commit | 22491fd6a4ee247bf49988db49250a6e3c278bf0 (patch) | |
tree | 9048fa10acb725e3e08e526eba21f69998cd93b5 /gtk/gtkclist.c | |
parent | 7d1a049bc39000840d2989f38e0ac444958d8740 (diff) | |
download | gtk+-22491fd6a4ee247bf49988db49250a6e3c278bf0.tar.gz |
Add missing gdk_rectangle_get_type() prototype.
Mon Jun 11 18:15:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
to recent changes in Pango.
* tests/testgtk.c: Set language tags with gtk_label_set_markup()
to test whether the basic engine honors them.
Diffstat (limited to 'gtk/gtkclist.c')
-rw-r--r-- | gtk/gtkclist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index a6352ae216..76581eb1a3 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -3027,11 +3027,11 @@ gtk_clist_set_row_height (GtkCList *clist, PangoContext *context = gtk_widget_get_pango_context (widget); PangoFontMetrics metrics; PangoFont *font = pango_context_load_font (context, widget->style->font_desc); - gchar *lang = pango_context_get_lang (context); - pango_font_get_metrics (font, lang, &metrics); + pango_font_get_metrics (font, + pango_context_get_language (context), + &metrics); - g_free (lang); g_object_unref (G_OBJECT (font)); if (!GTK_CLIST_ROW_HEIGHT_SET(clist)) |