GSettings: support emitting signals in threads

The thread-default context that was in effect at the time that the
GSettings was created will be used for emitting signals on that
GSettings.
This commit is contained in:
Ryan Lortie
2010-05-16 13:02:23 +02:00
parent 849684e540
commit 984258c662
4 changed files with 159 additions and 2 deletions

View File

@@ -367,7 +367,7 @@ g_delayed_settings_backend_new (GSettingsBackend *backend,
delayed->priv->backend = g_object_ref (backend);
delayed->priv->owner = owner;
g_settings_backend_watch (delayed->priv->backend,
g_settings_backend_watch (delayed->priv->backend, NULL,
delayed_backend_changed,
delayed_backend_path_changed,
delayed_backend_keys_changed,