mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-16 18:32:52 +02:00
GSettingsBackend: move 'has-unapplied' logic here
Add GSettingsBackend API to allow any backend to have a 'has-unapplied' property. Remove the 'owner' hackery that was used for notifying of changes to 'has-unapplied' and just use normal GObject notify (and wire into that from the frontend).
This commit is contained in:
@@ -122,6 +122,8 @@ GType g_settings_backend_get_type (void);
|
||||
|
||||
void g_settings_backend_report_event (GSettingsBackend *backend,
|
||||
const GSettingsEvent *event);
|
||||
void g_settings_backend_set_has_unapplied (GSettingsBackend *backend,
|
||||
gboolean has_unapplied);
|
||||
void g_settings_backend_changed (GSettingsBackend *backend,
|
||||
const gchar *key,
|
||||
gpointer origin_tag);
|
||||
|
Reference in New Issue
Block a user