gobjectification: 32eec889: I missed these before, thanks to the fun...

sadrul at pidgin.im sadrul at pidgin.im
Sun Jun 22 14:41:41 EDT 2008


-----------------------------------------------------------------
Revision: 32eec889940862dc6ebbcde55e58a39eea463a23
Ancestor: 1f26be3204bc9c7e4f7b7765c8b152bb71b208db
Author: sadrul at pidgin.im
Date: 2008-06-22T18:06:41
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/32eec889940862dc6ebbcde55e58a39eea463a23

Modified files:
        libpurple/account.c

ChangeLog: 

I missed these before, thanks to the funny spaces.

-------------- next part --------------
============================================================
--- libpurple/account.c	df09cb93f3c65afc35c00df475c897aafe1d622f
+++ libpurple/account.c	771c682a562430c929261ce0d4ec21804e7f3327
@@ -914,7 +914,7 @@ purple_account_notify_added(PurpleAccoun
 {
 	PurpleAccountUiOps *ui_ops;
 
-	g_return_if_fail(account     != NULL);
+	g_return_if_fail(PURPLE_IS_ACCOUNT(account));
 	g_return_if_fail(remote_user != NULL);
 
 	ui_ops = purple_accounts_get_ui_ops();
@@ -930,7 +930,7 @@ purple_account_request_add(PurpleAccount
 {
 	PurpleAccountUiOps *ui_ops;
 
-	g_return_if_fail(account     != NULL);
+	g_return_if_fail(PURPLE_IS_ACCOUNT(account));
 	g_return_if_fail(remote_user != NULL);
 
 	ui_ops = purple_accounts_get_ui_ops();
@@ -1035,7 +1035,7 @@ purple_account_request_authorization(Pur
 	PurpleAccountRequestInfo *info;
 	int plugin_return;
 
-	g_return_val_if_fail(account     != NULL, NULL);
+	g_return_val_if_fail(PURPLE_IS_ACCOUNT(account), NULL);
 	g_return_val_if_fail(remote_user != NULL, NULL);
 
 	ui_ops = purple_accounts_get_ui_ops();
@@ -1418,7 +1418,7 @@ purple_account_set_status_list(PurpleAcc
 {
 	PurpleStatus *status;
 
-	g_return_if_fail(account   != NULL);
+	g_return_if_fail(PURPLE_IS_ACCOUNT(account));
 	g_return_if_fail(status_id != NULL);
 
 	status = purple_account_get_status(account, status_id);
@@ -1839,7 +1839,7 @@ purple_account_get_active_status(const P
 PurpleStatus *
 purple_account_get_active_status(const PurpleAccount *account)
 {
-	g_return_val_if_fail(account   != NULL, NULL);
+	g_return_val_if_fail(PURPLE_IS_ACCOUNT(account), NULL);
 
 	return purple_presence_get_active_status(account->presence);
 }
@@ -1847,7 +1847,7 @@ purple_account_get_status(const PurpleAc
 PurpleStatus *
 purple_account_get_status(const PurpleAccount *account, const char *status_id)
 {
-	g_return_val_if_fail(account   != NULL, NULL);
+	g_return_val_if_fail(PURPLE_IS_ACCOUNT(account), NULL);
 	g_return_val_if_fail(status_id != NULL, NULL);
 
 	return purple_presence_get_status(account->presence, status_id);
@@ -1902,7 +1902,7 @@ purple_account_is_status_active(const Pu
 purple_account_is_status_active(const PurpleAccount *account,
 							  const char *status_id)
 {
-	g_return_val_if_fail(account   != NULL, FALSE);
+	g_return_val_if_fail(PURPLE_IS_ACCOUNT(account), FALSE);
 	g_return_val_if_fail(status_id != NULL, FALSE);
 
 	return purple_presence_is_status_active(account->presence, status_id);


More information about the Commits mailing list