From c0b92323516fef167517dc9ab645dcfd4075227e Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sun, 3 May 1998 20:48:15 +0000 Subject: [PATCH] hmmmm, corrections? --- ChangeLog | 3 +-- ChangeLog.pre-2-0 | 3 +-- ChangeLog.pre-2-10 | 3 +-- ChangeLog.pre-2-2 | 3 +-- ChangeLog.pre-2-4 | 3 +-- ChangeLog.pre-2-6 | 3 +-- ChangeLog.pre-2-8 | 3 +-- gtk/gtkadjustment.c | 4 +--- 8 files changed, 8 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 21f31499da..ef47755972 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,7 @@ Sun May 3 19:45:09 1998 Tim Janik * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function - to set the adjustments value without causing a current emission of - "value_changed" to be restarted. + to set the adjustments value when there is no current emissioin. * gtk/gtksignal.c: added new functions to retrive the number of existing emissions for a certain signal. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 21f31499da..ef47755972 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,8 +1,7 @@ Sun May 3 19:45:09 1998 Tim Janik * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function - to set the adjustments value without causing a current emission of - "value_changed" to be restarted. + to set the adjustments value when there is no current emissioin. * gtk/gtksignal.c: added new functions to retrive the number of existing emissions for a certain signal. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 21f31499da..ef47755972 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,8 +1,7 @@ Sun May 3 19:45:09 1998 Tim Janik * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function - to set the adjustments value without causing a current emission of - "value_changed" to be restarted. + to set the adjustments value when there is no current emissioin. * gtk/gtksignal.c: added new functions to retrive the number of existing emissions for a certain signal. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 21f31499da..ef47755972 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,8 +1,7 @@ Sun May 3 19:45:09 1998 Tim Janik * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function - to set the adjustments value without causing a current emission of - "value_changed" to be restarted. + to set the adjustments value when there is no current emissioin. * gtk/gtksignal.c: added new functions to retrive the number of existing emissions for a certain signal. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 21f31499da..ef47755972 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,8 +1,7 @@ Sun May 3 19:45:09 1998 Tim Janik * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function - to set the adjustments value without causing a current emission of - "value_changed" to be restarted. + to set the adjustments value when there is no current emissioin. * gtk/gtksignal.c: added new functions to retrive the number of existing emissions for a certain signal. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 21f31499da..ef47755972 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,8 +1,7 @@ Sun May 3 19:45:09 1998 Tim Janik * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function - to set the adjustments value without causing a current emission of - "value_changed" to be restarted. + to set the adjustments value when there is no current emissioin. * gtk/gtksignal.c: added new functions to retrive the number of existing emissions for a certain signal. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 21f31499da..ef47755972 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,8 +1,7 @@ Sun May 3 19:45:09 1998 Tim Janik * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function - to set the adjustments value without causing a current emission of - "value_changed" to be restarted. + to set the adjustments value when there is no current emissioin. * gtk/gtksignal.c: added new functions to retrive the number of existing emissions for a certain signal. 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); }