diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-07-02 22:30:54 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-07-02 22:30:54 +0000 |
commit | 0c2240ba379ceb5f3773171cc80a8c640f34e839 (patch) | |
tree | 40a189258bbfd061ebb76bdb142d8a12dab718bb /gtk/gtkscale.c | |
parent | 4e09f86e48c730c053bb524ca09173ce136c2084 (diff) | |
download | gtk+-0c2240ba379ceb5f3773171cc80a8c640f34e839.tar.gz |
Add a 'text' argument to set the initial text.
Sun Jul 2 18:19:50 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch] (gtk_widget_create_pango_layout): Add a 'text' argument to
set the initial text.
* gtk/gtkaccellabel.c gtk/gtkcalendar.c gtk/gtkclist.c
gtk/gtkentry.c gtk/gtkhruler.c gtk/gtkhscale.c gtk/gtklabel.c
gtk/gtkprogressbar.c gtk/gtkscale.c gtk/gtkvruler.c
gtk/gtkvscale.c: Adapt to new argument of create_pango_layout().
* gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new
pango_layout_set_font_description to simplify.
Diffstat (limited to 'gtk/gtkscale.c')
-rw-r--r-- | gtk/gtkscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index a23b816142..2aa5483f4f 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -280,7 +280,7 @@ gtk_scale_get_value_size (GtkScale *scale, range = GTK_RANGE (scale); - layout = gtk_widget_create_pango_layout (GTK_WIDGET (scale)); + layout = gtk_widget_create_pango_layout (GTK_WIDGET (scale), NULL); value = ABS (range->adjustment->lower); if (value == 0) value = 1; |