diff options
author | Manish Singh <yosh@src.gnome.org> | 1998-11-23 12:29:03 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1998-11-23 12:29:03 +0000 |
commit | 72bd1c58592cdd031eacf9c614a370a7028f21fc (patch) | |
tree | 97ab647a57c76937247871365ef527cfe209aebb /gtk/gtkprogress.c | |
parent | 8e2b7688fd4054ddfc4983c88af92a9b4e3c1fdd (diff) | |
download | gdk-pixbuf-72bd1c58592cdd031eacf9c614a370a7028f21fc.tar.gz |
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
Diffstat (limited to 'gtk/gtkprogress.c')
-rw-r--r-- | gtk/gtkprogress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprogress.c b/gtk/gtkprogress.c index 586d58b27..dd3b7a5e6 100644 --- a/gtk/gtkprogress.c +++ b/gtk/gtkprogress.c @@ -452,7 +452,7 @@ gtk_progress_set_adjustment (GtkProgress *progress, if (adjustment) g_return_if_fail (GTK_IS_ADJUSTMENT (adjustment)); 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) { |