cpw.gillux.detachablepurple: 7b5d8e57: Removed unneeded parameters of purple_ac...

gillux at soc.pidgin.im gillux at soc.pidgin.im
Sat May 12 16:56:38 EDT 2012


----------------------------------------------------------------------
Revision: 7b5d8e574517497dff30a49d7db6a72f4d70a0fd
Parent:   4d8107aa60bd76af7e49d84c1739ce6778a8d305
Author:   gillux at soc.pidgin.im
Date:     05/12/12 16:52:08
Branch:   im.pidgin.cpw.gillux.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/7b5d8e574517497dff30a49d7db6a72f4d70a0fd

Changelog: 

Removed unneeded parameters of purple_account_dbus_init().

Changes against parent 4d8107aa60bd76af7e49d84c1739ce6778a8d305

  patched  libpurple/account.c
  patched  libpurple/dbus/account.h

-------------- next part --------------
============================================================
--- libpurple/account.c	64c18d526c88bd8fedc2d5b9f076927c0e2dc8a6
+++ libpurple/account.c	f9e8a6fe865fb3f26a410a11219fc9e957a91ba3
@@ -817,7 +817,7 @@ purple_account_new(const char *username,
 	priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
 
 	PURPLE_DBUS_REGISTER_POINTER(account, PurpleAccount);
-	purple_account_dbus_init(account, username, protocol_id);
+	purple_account_dbus_init(account);
 
 	prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl);
 	if (prpl_info != NULL && prpl_info->status_types != NULL)
============================================================
--- libpurple/dbus/account.h	5d2e235e7eea2ae59ed2dfb8773b37c162d1e39f
+++ libpurple/dbus/account.h	db96e733979cb0343efb36a28f098e34f60ea3d5
@@ -33,7 +33,7 @@ void purple_account_class_dbus_init(Purp
 /**
  * Initialize the dbus data of a new account.
  */
-void purple_account_dbus_init(PurpleAccount *account, const char *username, const char *protocol_id);
+void purple_account_dbus_init(PurpleAccount *account);
 
 /**
  * Used in remote mode context, to remotely call purple_account_new().
@@ -95,7 +95,7 @@ G_END_DECLS
 #else /* !HAVE_DBUS */
 
 #define purple_account_class_dbus_init()              ((void)0)
-#define purple_account_dbus_init(acc, user, proto)    ((void)0)
+#define purple_account_dbus_init(acc)                 ((void)0)
 #define purple_account_new_RPC(username, protocol_id) (NULL)
 #define purple_account_connect_RPC(account)           ((void)0)
 #define purple_account_disconnect_RPC(account)        ((void)0)


More information about the Commits mailing list