/srv/mercurial-server/detachablepurple: e5cd1fe40bea: Prevent th...
Gilles Bedel
gillux at cpw.pidgin.im
Fri Jun 15 22:01:52 EDT 2012
Changeset: e5cd1fe40beaab30724e1fc881c8bebb1bd75cc6
Author: Gilles Bedel <gillux at cpw.pidgin.im>
Date: 2012-05-29 22:10 +0000
Branch: cpw.gillux.detachablepurple
URL: http://hg.pidgin.im/srv/mercurial-server/detachablepurple/rev/e5cd1fe40bea
Description:
Prevent the D-Bus initialization code from
being run if don't use detachable sessions.
diffstat:
libpurple/pobject.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff --git a/libpurple/pobject.c b/libpurple/pobject.c
--- a/libpurple/pobject.c
+++ b/libpurple/pobject.c
@@ -814,6 +814,9 @@
{
PurpleObjectClass *pclass = PURPLE_OBJECT_GET_CLASS(object);
+ if (purple_core_is_normal_mode())
+ return;
+
if (purple_core_is_daemon_mode() && propagate_props_changes)
g_signal_connect(object, "notify",
G_CALLBACK(purple_object_forward_notify_cb),
More information about the Commits
mailing list