[gjs] dbus: Do not establish a connection when setting up connection functions.
- From: C. Scott Ananian <cananian src gnome org>
- To: svn-commits-list gnome org
- Subject: [gjs] dbus: Do not establish a connection when setting up connection functions.
- Date: Thu, 4 Jun 2009 19:03:49 -0400 (EDT)
commit a43f48d38e338a21faac3439b52f67eba2fd94db
Author: Marco Pesenti Gritti <marcopg litl com>
Date: Wed May 6 21:36:56 2009 -0500
dbus: Do not establish a connection when setting up connection functions.
We was connecting to both session and system bus whenever the dbus
module was imported in javascript. We are already connecting lazily
when necessary.
---
gjsdbus/dbus.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/gjsdbus/dbus.c b/gjsdbus/dbus.c
index 43bf0ad..9323d1c 100644
--- a/gjsdbus/dbus.c
+++ b/gjsdbus/dbus.c
@@ -374,8 +374,6 @@ internal_add_connect_funcs(const GjsDBusConnectFuncs *funcs,
all_connect_funcs = g_slist_prepend(all_connect_funcs, f);
- _gjs_dbus_ensure_connect_idle(f->funcs->which_bus);
-
if (sync_notify) {
/* sync_notify means IF we are already connected
* (we have a weak ref != NULL) then notify
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]