/soc/2013/ankitkv/gobjectification: 03f37a4be260: Correction poi...

Ankit Vani a at nevitus.org
Fri Aug 9 12:27:03 EDT 2013


Changeset: 03f37a4be260c6a9aeffea570963e6128b4d264c
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-09 21:56 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/03f37a4be260

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