summaryrefslogtreecommitdiff
path: root/gtk/gtkadjustment.c
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1998-05-03 20:48:15 +0000
committerTim Janik <timj@src.gnome.org>1998-05-03 20:48:15 +0000
commitc0b92323516fef167517dc9ab645dcfd4075227e (patch)
treee87fabc88a4a60a93e83dade12dcadbb8b6af93a /gtk/gtkadjustment.c
parent5c9af6b5aa97417b6ec52018d30cf11790560110 (diff)
downloadgtk+-c0b92323516fef167517dc9ab645dcfd4075227e.tar.gz
hmmmm, corrections?
Diffstat (limited to 'gtk/gtkadjustment.c')
-rw-r--r--gtk/gtkadjustment.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkadjustment.c b/gtk/gtkadjustment.c
index bcf2ff1b17..d8661c8fd3 100644
--- a/gtk/gtkadjustment.c
+++ b/gtk/gtkadjustment.c
@@ -144,9 +144,7 @@ gtk_adjustment_assimilate_value (GtkAdjustment *adjustment,
g_return_if_fail (GTK_IS_ADJUSTMENT (adjustment));
if (gtk_signal_n_emissions (GTK_OBJECT (adjustment),
- adjustment_signals[VALUE_CHANGED]))
- adjustment->value = CLAMP (value, adjustment->lower, adjustment->upper);
- else
+ adjustment_signals[VALUE_CHANGED]) == 0)
gtk_adjustment_set_value (adjustment, value);
}