summaryrefslogtreecommitdiff
path: root/gtk/gtkprogress.c
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1998-11-23 12:29:03 +0000
committerManish Singh <yosh@src.gnome.org>1998-11-23 12:29:03 +0000
commit72bd1c58592cdd031eacf9c614a370a7028f21fc (patch)
tree97ab647a57c76937247871365ef527cfe209aebb /gtk/gtkprogress.c
parent8e2b7688fd4054ddfc4983c88af92a9b4e3c1fdd (diff)
downloadgdk-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.c2
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)
{