st: Specify G_PARAM_EXPLICIT_NOTIFY where appropriate
We are now consistently calling notify() when a property does change. With that we can opt out of g_object_set()'s implicit change notifications, so that notify is only emitted when a property *actually* changes. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2168>
This commit is contained in:

committed by
Marge Bot

parent
bfb52aaf9d
commit
5a23c96bd9
@ -298,7 +298,7 @@ st_settings_class_init (StSettingsClass *klass)
|
||||
"Slow down factor",
|
||||
"Factor applied to all animation durations",
|
||||
EPSILON, G_MAXDOUBLE, 1.0,
|
||||
ST_PARAM_READWRITE);
|
||||
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
/**
|
||||
* StSettings:disable-show-password:
|
||||
|
Reference in New Issue
Block a user