public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/glib/files/
@ 2011-09-08 15:43 Alexandre Restovtsev
  0 siblings, 0 replies; only message in thread
From: Alexandre Restovtsev @ 2011-09-08 15:43 UTC (permalink / raw
  To: gentoo-commits

commit:     5b7ccd1598ada32ca2cba5780c7abd773f966932
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Thu Sep  8 15:40:31 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Thu Sep  8 15:40:31 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=5b7ccd15

dev-libs/glib: add missing patch (#382285)

Fixes bug #382285. Thanks to Pim Vullers <gentoo.org <AT> vullersmail.nl> for
reporting.

---
 .../files/glib-2.29.90-gsettings-threading.patch   |   39 ++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/dev-libs/glib/files/glib-2.29.90-gsettings-threading.patch b/dev-libs/glib/files/glib-2.29.90-gsettings-threading.patch
new file mode 100644
index 0000000..63e9c07
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.29.90-gsettings-threading.patch
@@ -0,0 +1,39 @@
+commit 27fbaf371278e792c79a3478c2282e43f12472f5
+Author: Ryan Lortie <desrt@desrt.ca>
+Date:   Tue Sep 6 14:01:52 2011 -0400
+
+    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.
+
+diff --git a/gio/gsettingsbackend.c b/gio/gsettingsbackend.c
+index 4757d63..71341ce 100644
+--- a/gio/gsettingsbackend.c
++++ b/gio/gsettingsbackend.c
+@@ -676,7 +676,6 @@ g_settings_backend_changed_tree (GSettingsBackend *backend,
+                                  GTree            *tree,
+                                  gpointer          origin_tag)
+ {
+-  GSettingsBackendWatch *watch;
+   const gchar **keys;
+   gchar *path;
+ 
+@@ -696,10 +695,7 @@ g_settings_backend_changed_tree (GSettingsBackend *backend,
+   }
+ #endif
+ 
+-  for (watch = backend->priv->watches; watch; watch = watch->next)
+-    watch->vtable->keys_changed (watch->target, backend,
+-                                 path, keys, origin_tag);
+-
++  g_settings_backend_keys_changed (backend, path, keys, origin_tag);
+   g_free (path);
+   g_free (keys);
+ }



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-08 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-08 15:43 [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/glib/files/ Alexandre Restovtsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox