summaryrefslogtreecommitdiff
path: root/gtk/gtkvscale.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-04-07 23:29:04 +0000
committerTim Janik <timj@src.gnome.org>1998-04-07 23:29:04 +0000
commit13de9dc34f6340cfb33632e717728919d5cec96f (patch)
tree7b3c2478935f2adcac3af384c3421cf22ce58978 /gtk/gtkvscale.c
parent6788abaa48826759341f5524853ad24d61f32dcc (diff)
downloadgdk-pixbuf-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/gtkvscale.c')
-rw-r--r--gtk/gtkvscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkvscale.c b/gtk/gtkvscale.c
index 292d3a7bc..873058143 100644
--- a/gtk/gtkvscale.c
+++ b/gtk/gtkvscale.c
@@ -334,7 +334,7 @@ static void
gtk_vscale_draw_value (GtkScale *scale)
{
GtkStateType state_type;
- gchar buffer[16];
+ gchar buffer[32];
gint text_width;
gint width, height;
gint x, y;