[gtk+] range: No need to frce a recalc
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] range: No need to frce a recalc
- Date: Sat, 29 Nov 2014 03:09:31 +0000 (UTC)
commit c80c7f7792f4529da94b3808e1befc441480267e
Author: Benjamin Otte <otte redhat com>
Date: Fri Nov 28 00:24:06 2014 +0100
range: No need to frce a recalc
A resize will already trigger a recalc, so no need to explicitly trigger
it.
gtk/gtkrange.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 04e0ec6..4988a60 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -4195,6 +4195,5 @@ _gtk_range_set_steppers (GtkRange *range,
range->priv->has_stepper_c = has_c;
range->priv->has_stepper_d = has_d;
- range->priv->need_recalc = TRUE;
gtk_widget_queue_resize (GTK_WIDGET (range));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]