diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-09-19 00:58:09 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-09-19 00:58:09 +0000 |
commit | 5a43a59ff3f7dd66b43b66c1c38ca4bcb99cd76e (patch) | |
tree | f670758610bc5461529b0e8910bff07f8a4b854e /gtk/gtkspinbutton.c | |
parent | 1a46d3d534698081b67e56e5510f521e45bfcbd1 (diff) | |
download | gtk+-5a43a59ff3f7dd66b43b66c1c38ca4bcb99cd76e.tar.gz |
Fix incorrect parameter to compute_double_length (#58680, patch from
Tue Sep 18 20:47:16 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_size_request): Fix
incorrect parameter to compute_double_length
(#58680, patch from Matthias Clasen)
Fixes for compilation with Forte cc. (#59734, Derek Rafter)
* gtk/gtkwindow.h gtk/gtksizegroup.h: Remove extra ;.
* gdk/gdktypes.h (GdkModifierType): Write 1u << 31
for GDK_RELEASE_MASK to avoid warnings with Forte.
* gtk/gtktexttag.c gtk/gtkcellrendertext.c: Add some missing
break; statements.
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r-- | gtk/gtkspinbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 7a7a2d07a9..df40ea5e5a 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -588,7 +588,7 @@ gtk_spin_button_size_request (GtkWidget *widget, w = MIN (string_len, 10) * digit_width; width = MAX (width, w); string_len = compute_double_length (spin_button->adjustment->lower, - spin_button->adjustment->step_increment); + spin_button->digits); w = MIN (string_len, 10) * digit_width; width = MAX (width, w); |