summaryrefslogtreecommitdiff
path: root/gio/gsettingsbackendinternal.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-05-16 16:56:36 -0400
committerRyan Lortie <desrt@desrt.ca>2010-05-17 07:16:37 -0400
commit799e0242ae31dd66b102342927583f1f34806c54 (patch)
tree974f9d254f21243311ba98cbb1a76b52a68e53e6 /gio/gsettingsbackendinternal.h
parent61219e264083184eada5c5ef2795b7c531470704 (diff)
downloadglib-799e0242ae31dd66b102342927583f1f34806c54.tar.gz
improve thread safety in GDelayedSettingsBackend
- hold a lock while accessing the tree of delayed values - use weak reference counts with the owner object to avoid doing g_object_notify on a dead object - dispatch the "has-unapplied" notify to the proper main context
Diffstat (limited to 'gio/gsettingsbackendinternal.h')
-rw-r--r--gio/gsettingsbackendinternal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gsettingsbackendinternal.h b/gio/gsettingsbackendinternal.h
index b6679830c..923dbf279 100644
--- a/gio/gsettingsbackendinternal.h
+++ b/gio/gsettingsbackendinternal.h
@@ -98,5 +98,7 @@ void g_settings_backend_unsubscribe (GSettin
G_GNUC_INTERNAL
void g_settings_backend_subscribe (GSettingsBackend *backend,
const char *name);
+G_GNUC_INTERNAL
+GMainContext * g_settings_backend_get_active_context (void);
#endif /* __G_SETTINGS_BACKEND_INTERNAL_H__ */