soc.2010.detachablepurple: 2b2d8f70: Made purple_account_new_RPC() to use the...

gillux at soc.pidgin.im gillux at soc.pidgin.im
Thu Aug 12 00:37:04 EDT 2010


----------------------------------------------------------------------
Revision: 2b2d8f7008788c74cf4d7fba8d28d93a5e8d7b91
Parent:   d407e87d4303c7db0e638df80a03b4a0f68c001b
Author:   gillux at soc.pidgin.im
Date:     08/11/10 16:07:15
Branch:   im.pidgin.soc.2010.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/2b2d8f7008788c74cf4d7fba8d28d93a5e8d7b91

Changelog: 

Made purple_account_new_RPC() to use the mirror mode.

Changes against parent d407e87d4303c7db0e638df80a03b4a0f68c001b

  patched  libpurple/dbus/account.c

-------------- next part --------------
============================================================
--- libpurple/dbus/account.c	a3847feb1678c8f359236997e757ef5b4b58bee2
+++ libpurple/dbus/account.c	0080b63e40283e5b249e086fd81a726be5b9c624
@@ -239,14 +239,10 @@ purple_account_new_RPC(const char *usern
 	/* Then, locally create a mirror account that will hold a proxy */
 	/* Act in normal mode so that the account is created locally */
 	mode = purple_core_get_running_mode();
-	purple_core_set_running_mode(PURPLE_RUN_NORMAL_MODE);
+	purple_core_set_running_mode(PURPLE_RUN_MIRROR_MODE);
 	account = purple_account_new(username, protocol_id);
 	purple_core_set_running_mode(mode);
 
-	/* In normal mode this have been skipped, so do it now */
-	purple_object_install_dbus_infos(PURPLE_OBJECT(account),
-					DBUS_ACCOUNT_INTERFACE, dbus_path);
-
 	return account;
 }
 


More information about the Commits mailing list