mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
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:
@@ -48,6 +48,7 @@ typedef void (*GSettingsBackendPathWritableChangedFunc) (GSettin
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
void g_settings_backend_watch (GSettingsBackend *backend,
|
||||
GMainContext *context,
|
||||
GSettingsBackendChangedFunc changed,
|
||||
GSettingsBackendPathChangedFunc path_changed,
|
||||
GSettingsBackendKeysChangedFunc keys_changed,
|
||||
@@ -97,4 +98,5 @@ void g_settings_backend_unsubscribe (GSettin
|
||||
G_GNUC_INTERNAL
|
||||
void g_settings_backend_subscribe (GSettingsBackend *backend,
|
||||
const char *name);
|
||||
|
||||
#endif /* __G_SETTINGS_BACKEND_INTERNAL_H__ */
|
||||
|
Reference in New Issue
Block a user