changeset 28671:b5a8d5b6608e

Typo fix (thanks to clang-analyzer).
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 26 Sep 2009 18:05:44 +0000
parents 60e4ef6801ff
children 7e2e95508a3a
files libpurple/protocols/jabber/jingle/content.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/content.c	Sat Sep 26 17:38:05 2009 +0000
+++ b/libpurple/protocols/jabber/jingle/content.c	Sat Sep 26 18:05:44 2009 +0000
@@ -330,8 +330,8 @@
 void
 jingle_content_set_session(JingleContent *content, JingleSession *session)
 {
-	JINGLE_IS_CONTENT(content);
-	JINGLE_IS_SESSION(session);
+	g_return_if_fail(JINGLE_IS_CONTENT(content));
+	g_return_if_fail(JINGLE_IS_SESSION(session));
 	g_object_set(content, "session", session, NULL);
 }