diff options
author | Tim Janik <timj@gtk.org> | 1998-04-07 23:29:04 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-04-07 23:29:04 +0000 |
commit | 13de9dc34f6340cfb33632e717728919d5cec96f (patch) | |
tree | 7b3c2478935f2adcac3af384c3421cf22ce58978 /gtk/gtkhscale.c | |
parent | 6788abaa48826759341f5524853ad24d61f32dcc (diff) | |
download | gtk+-13de9dc34f6340cfb33632e717728919d5cec96f.tar.gz |
don't take '\n' into account for size computation (Damon Chaplin).
Wed Apr 8 00:00:48 1998 Tim Janik <timj@gtk.org>
* gtk/gtklabel.c (gtk_label_expose): don't take '\n' into account for
size computation (Damon Chaplin).
* gtk/gtkvscale.c (gtk_vscale_draw_value): adjusted static snprintf()
buffer size to 32 characters (Damon Chaplin).
* gtk/gtkhscale.c (gtk_hscale_draw_value): likewise.
* gtk/gtkmain.c (gtk_main_iteration_do): gdk_flush() the X-queue if
iteration_done==TRUE since we will most likely not get invoked again
(Marius Vollmer).
Diffstat (limited to 'gtk/gtkhscale.c')
-rw-r--r-- | gtk/gtkhscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkhscale.c b/gtk/gtkhscale.c index 3c1e42dbc1..334503044d 100644 --- a/gtk/gtkhscale.c +++ b/gtk/gtkhscale.c @@ -333,7 +333,7 @@ static void gtk_hscale_draw_value (GtkScale *scale) { GtkStateType state_type; - gchar buffer[16]; + gchar buffer[32]; gint text_width; gint width, height; gint x, y; |