/soc/2013/ankitkv/gobjectification: 34d0b2ee6599: Correction poi...

Ankit Vani a at nevitus.org
Fri Aug 9 12:32:07 EDT 2013


Changeset: 34d0b2ee6599292bebe4197b169f5161a4e9ebc7
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-09 22:01 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/34d0b2ee6599

Description:

Correction pointed out by Richard

diffstat:

 libpurple/conversation.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff --git a/libpurple/conversation.c b/libpurple/conversation.c
--- a/libpurple/conversation.c
+++ b/libpurple/conversation.c
@@ -102,9 +102,9 @@ common_send(PurpleConversation *conv, co
 		return;
 
 	account = purple_conversation_get_account(conv);
+	g_return_if_fail(account != NULL);
+
 	gc = purple_conversation_get_connection(conv);
-
-	g_return_if_fail(account != NULL);
 	g_return_if_fail(gc != NULL);
 
 	/* Always linkfy the text for display, unless we're



More information about the Commits mailing list