[glib-networking] gnome-proxy: optimize D-Bus proxy for remote PACRunner object
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] gnome-proxy: optimize D-Bus proxy for remote PACRunner object
- Date: Wed, 18 May 2011 15:05:06 +0000 (UTC)
commit a572c78fa44c185ef0fa72aedbd1f32a7a6cd127
Author: David Zeuthen <davidz redhat com>
Date: Wed May 18 10:26:18 2011 -0400
gnome-proxy: optimize D-Bus proxy for remote PACRunner object
The remote object is known to not have any properties or emit any
signals so do less work when creating the local proxy.
Signed-off-by: David Zeuthen <davidz redhat com>
proxy/gnome/gproxyresolvergnome.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/proxy/gnome/gproxyresolvergnome.c b/proxy/gnome/gproxyresolvergnome.c
index 80fc806..f38448f 100644
--- a/proxy/gnome/gproxyresolvergnome.c
+++ b/proxy/gnome/gproxyresolvergnome.c
@@ -303,7 +303,8 @@ update_settings (GProxyResolverGnome *resolver)
GError *error = NULL;
resolver->pacrunner =
g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
- G_DBUS_PROXY_FLAGS_NONE,
+ G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES |
+ G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS,
NULL,
"org.gtk.GLib.PACRunner",
"/org/gtk/GLib/PACRunner",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]