GSettingsBackend: emit changes to correct thread
authorRyan Lortie <desrt@desrt.ca>
Tue, 6 Sep 2011 18:01:52 +0000 (14:01 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 6 Sep 2011 18:07:16 +0000 (14:07 -0400)
commit27fbaf371278e792c79a3478c2282e43f12472f5
tree534a7545442245269f3f04b2146fcbaf08236cf2
parent8060a7a207192297e62d29b4e5e1b551eab48622
GSettingsBackend: emit changes to correct thread

When g_settings_apply() is called on a delayed settings backend and
there is a D-Bus error when communicating with dconf-service, recent
versions of the dconf GSettingsBackend call a function in GLib that
improperly delivered the signal directly instead of using
g_main_context_invoke().

This patch fixes this function to route in the same way as the others so
that the signal is dispatched in the proper GMainContext.
gio/gsettingsbackend.c