[gtk+] GtkSpinButton: Only notify 'adjustment' if the property changed
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkSpinButton: Only notify 'adjustment' if the property changed
- Date: Tue, 12 Aug 2014 12:04:57 +0000 (UTC)
commit 225bb95795034da40c325412deb8e0336a125f0a
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Aug 12 11:54:29 2014 +0200
GtkSpinButton: Only notify 'adjustment' if the property changed
https://bugzilla.gnome.org/show_bug.cgi?id=734649
gtk/gtkspinbutton.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index a70976d..3348450 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -2262,10 +2262,9 @@ gtk_spin_button_set_adjustment (GtkSpinButton *spin_button,
priv->timer_step = gtk_adjustment_get_step_increment (priv->adjustment);
}
+ g_object_notify (G_OBJECT (spin_button), "adjustment");
gtk_widget_queue_resize (GTK_WIDGET (spin_button));
}
-
- g_object_notify (G_OBJECT (spin_button), "adjustment");
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]