[dconf] Update for GDBus API shift



commit 3b11987e364fb9814f39541232ff3d670cbe642a
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Jun 22 10:22:45 2010 -0400

    Update for GDBus API shift

 gsettings/dconfsettingsbackend.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gsettings/dconfsettingsbackend.c b/gsettings/dconfsettingsbackend.c
index 6872f53..3daecc7 100644
--- a/gsettings/dconfsettingsbackend.c
+++ b/gsettings/dconfsettingsbackend.c
@@ -298,12 +298,16 @@ dconf_settings_backend_incoming_signal (DConfSettingsBackend  *dcsb,
 static gboolean
 dconf_settings_backend_filter (GDBusConnection *connection,
                                GDBusMessage    *message,
+                               gboolean         is_incoming,
                                gpointer         user_data)
 {
   DConfSettingsBackend *dcsb = user_data;
   guint bus_type;
   gchar **ae;
 
+  if (!is_incoming)
+    return FALSE;
+
   if (connection == dcsb->session_bus)
     {
       ae = &dcsb->session_anti_expose;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]