mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
fix revrted bug fix. (use a define for max digits).
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org> * gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix. (use a define for max digits).
This commit is contained in:
parent
2a9af2ff42
commit
bb974b6bd4
@ -1,3 +1,8 @@
|
||||
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
|
||||
(use a define for max digits).
|
||||
|
||||
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_show): Try to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
|
||||
(use a define for max digits).
|
||||
|
||||
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_show): Try to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
|
||||
(use a define for max digits).
|
||||
|
||||
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_show): Try to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
|
||||
(use a define for max digits).
|
||||
|
||||
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_show): Try to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
|
||||
(use a define for max digits).
|
||||
|
||||
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_show): Try to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
|
||||
(use a define for max digits).
|
||||
|
||||
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_show): Try to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
|
||||
(use a define for max digits).
|
||||
|
||||
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_show): Try to make
|
||||
|
@ -398,7 +398,7 @@ gtk_scale_set_digits (GtkScale *scale,
|
||||
|
||||
range = GTK_RANGE (scale);
|
||||
|
||||
digits = CLAMP (digits, -1, 16);
|
||||
digits = CLAMP (digits, -1, MAX_DIGITS);
|
||||
|
||||
if (scale->digits != digits)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user