GtkSpinButton: Only notify 'adjustment' if the property changed
https://bugzilla.gnome.org/show_bug.cgi?id=734649
This commit is contained in:
parent
a397824e9b
commit
225bb95795
@ -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");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user