soc.2010.detachablepurple: e07ee165: Removed this check since accounts are cr...

gillux at soc.pidgin.im gillux at soc.pidgin.im
Fri Jul 16 01:17:11 EDT 2010


----------------------------------------------------------------------
Revision: e07ee1656c8706cab8df9b96412b5e000281ff4f
Parent:   49ac989de76feee20137d02fc1131c70cd8c9299
Author:   gillux at soc.pidgin.im
Date:     07/15/10 23:56:56
Branch:   im.pidgin.soc.2010.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/e07ee1656c8706cab8df9b96412b5e000281ff4f

Changelog: 

Removed this check since accounts are created while we are in a temporarly
normal mode.

Changes against parent 49ac989de76feee20137d02fc1131c70cd8c9299

  patched  libpurple/account.c

-------------- next part --------------
============================================================
--- libpurple/account.c	ecaa8f45d2aac498ba5e10872637eca52e431717
+++ libpurple/account.c	947b0a75e9f388eb9f16b9d4b6959d526b54feb6
@@ -459,16 +459,6 @@ purple_account_set_property(GObject *obj
 {
 	PurpleAccount *account = PURPLE_ACCOUNT(obj);
 
-	/* In remote mode context, we don't want any property to be set until the
-	 * object have been published on dbus, or this would fail. This typically
-	 * happens when the properties flagged with G_PARAM_CONSTRUCT are
-	 * initialized.
-	 */
-	if (purple_core_is_remote_mode()) {
-		if(!purple_object_get_dbus_path(PURPLE_OBJECT(obj)))
-			return;
-	}
-
 	switch (param_id) {
 		case PROP_USERNAME:
 			purple_account_set_username(account, g_value_get_string(value));


More information about the Commits mailing list