soc.2009.telepathy: 2d36fc21: PurpleAccount signals don't really use u...
sttwister at gmail.com
sttwister at gmail.com
Thu Oct 15 15:55:35 EDT 2009
-----------------------------------------------------------------
Revision: 2d36fc213fa74d6ef4c9ee0de6a2cd88a166bb44
Ancestor: b4c9e5344a9205cbcbd94e89d30c28dce6975e1c
Author: sttwister at gmail.com
Date: 2009-10-14T19:23:50
Branch: im.pidgin.soc.2009.telepathy
URL: http://d.pidgin.im/viewmtn/revision/info/2d36fc213fa74d6ef4c9ee0de6a2cd88a166bb44
Modified files:
libpurple/protocols/telepathy/telepathy_account.c
ChangeLog:
PurpleAccount signals don't really use user_data, no need to check them
-------------- next part --------------
============================================================
--- libpurple/protocols/telepathy/telepathy_account.c 529444d41796336c7e8062c6c101a094d1c65d65
+++ libpurple/protocols/telepathy/telepathy_account.c cb385950096d4858ecf220fee3de843924f69140
@@ -418,8 +418,6 @@ purple_account_destroying_cb (PurpleAcco
{
PrplTpAccount *account_data;
- g_return_if_fail(user_data != NULL);
-
/* Save the changes to AccountManager and destroy the alocated struct */
purple_account_modified_cb(account, user_data);
@@ -595,9 +593,6 @@ purple_account_added_cb (PurpleAccount *
PrplTpAccount *account_data;
gchar *protocol_id;
- g_return_if_fail(account != NULL);
- g_return_if_fail(user_data != NULL);
-
protocol_id = g_strndup(purple_account_get_protocol_id(account),
strlen(TELEPATHY_ID));
if (g_strcmp0(protocol_id, TELEPATHY_ID) != 0)
@@ -678,8 +673,6 @@ purple_account_removed_cb (PurpleAccount
gint account_data_int = purple_account_get_int(account, "tp_account_data", 0);
- g_return_if_fail(user_data != NULL);
-
if (account_data_int == 0)
{
return;
More information about the Commits
mailing list