cpw.gillux.detachablepurple: f01f38f2: Prevent the D-Bus initialization code fr...
gillux at soc.pidgin.im
gillux at soc.pidgin.im
Tue May 29 18:19:04 EDT 2012
----------------------------------------------------------------------
Revision: f01f38f218b857f1d494f7914761d9edcabdde98
Parent: e2d864804baf48d94eedd0775213d3e655953d7d
Author: gillux at soc.pidgin.im
Date: 05/29/12 18:10:17
Branch: im.pidgin.cpw.gillux.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/f01f38f218b857f1d494f7914761d9edcabdde98
Changelog:
Prevent the D-Bus initialization code from
being run if don't use detachable sessions.
Changes against parent e2d864804baf48d94eedd0775213d3e655953d7d
patched libpurple/pobject.c
-------------- next part --------------
============================================================
--- libpurple/pobject.c 68ed8b41594eeaf239812c993e0c50985312c377
+++ libpurple/pobject.c 3f67541f14249b5a67635c3444f2503eb43c41d6
@@ -814,6 +814,9 @@ purple_object_dbus_init(gpointer object,
{
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