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:
Ryan Lortie
2011-12-29 04:58:20 -05:00
parent 05479beac9
commit ddc12323d1
7 changed files with 80 additions and 97 deletions

View File

@@ -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);