GtkSpinButton: Only notify 'adjustment' if the property changed

https://bugzilla.gnome.org/show_bug.cgi?id=734649
This commit is contained in:
Debarshi Ray 2014-08-12 11:54:29 +02:00
parent a397824e9b
commit 225bb95795

View File

@ -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");
}
/**