mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-15 08:58:06 +02:00
Now that we require glib 2.42, we can use G_PARAM_EXPLICIT_NOTIFY flag. The benefit is that this flag saves a notification, when the property value does not change. The downside is, that implementations of set_property() must remember to emit _notify() when required. This is somewhat alleviated by using _nm_setting_property_set_property_direct(), which does this automatically. Se the flag for G_PARAM_EXPLICIT_NOTIFY for direct boolean properties. For now, only do it for boolean properties, because of the danger of getting this wrong. We must review all callers to make sure that they don't implement set_properties() and don't forget to notify. |
||
|---|---|---|
| .. | ||
| certs | ||
| meson.build | ||
| nm-core-tests-enum-types.c.template | ||
| nm-core-tests-enum-types.h.template | ||
| test-compare.c | ||
| test-crypto.c | ||
| test-general-enums.h | ||
| test-general.c | ||
| test-keyfile.c | ||
| test-secrets.c | ||
| test-setting.c | ||
| test-settings-defaults.c | ||