make a saner default adjustment (from 0 to 100) instead. I'm not sure if

* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.

-Yosh
This commit is contained in:
Manish Singh 1998-11-23 12:29:03 +00:00
parent 8e2b7688fd
commit 72bd1c5859
8 changed files with 50 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.
1998-11-23 Martin Baulig <martin@home-of-linux.org> 1998-11-23 Martin Baulig <martin@home-of-linux.org>
* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so

View File

@ -1,3 +1,10 @@
Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.
1998-11-23 Martin Baulig <martin@home-of-linux.org> 1998-11-23 Martin Baulig <martin@home-of-linux.org>
* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so

View File

@ -1,3 +1,10 @@
Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.
1998-11-23 Martin Baulig <martin@home-of-linux.org> 1998-11-23 Martin Baulig <martin@home-of-linux.org>
* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so

View File

@ -1,3 +1,10 @@
Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.
1998-11-23 Martin Baulig <martin@home-of-linux.org> 1998-11-23 Martin Baulig <martin@home-of-linux.org>
* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so

View File

@ -1,3 +1,10 @@
Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.
1998-11-23 Martin Baulig <martin@home-of-linux.org> 1998-11-23 Martin Baulig <martin@home-of-linux.org>
* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so

View File

@ -1,3 +1,10 @@
Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.
1998-11-23 Martin Baulig <martin@home-of-linux.org> 1998-11-23 Martin Baulig <martin@home-of-linux.org>
* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so

View File

@ -1,3 +1,10 @@
Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.
1998-11-23 Martin Baulig <martin@home-of-linux.org> 1998-11-23 Martin Baulig <martin@home-of-linux.org>
* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so

View File

@ -452,7 +452,7 @@ gtk_progress_set_adjustment (GtkProgress *progress,
if (adjustment) if (adjustment)
g_return_if_fail (GTK_IS_ADJUSTMENT (adjustment)); g_return_if_fail (GTK_IS_ADJUSTMENT (adjustment));
else else
adjustment = (GtkAdjustment*) gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL); adjustment = (GtkAdjustment*) gtk_adjustment_new (0, 0, 100, 0, 0, 0);
if (progress->adjustment != adjustment) if (progress->adjustment != adjustment)
{ {