jabber/bosh: We require glib 2.16 now, this was added in 2.16

Wed, 11 May 2011 02:42:52 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Wed, 11 May 2011 02:42:52 +0000
changeset 31796
76b8a4f47cba
parent 31794
9725839f5a19
child 31797
e26c45c86ea7

jabber/bosh: We require glib 2.16 now, this was added in 2.16

libpurple/protocols/jabber/bosh.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/bosh.c	Wed May 11 01:58:03 2011 +0000
+++ b/libpurple/protocols/jabber/bosh.c	Wed May 11 02:42:52 2011 +0000
@@ -484,13 +484,7 @@
 		/* Shouldn't happen; this should be the only place pipelining
 		 * is turned off.
 		 */
-#if GLIB_CHECK_VERSION(2,16,0)
 		g_warn_if_reached();
-#else
-		g_log(G_LOG_DOMAIN, G_LOG_LEVEL_WARNING,
-				"(%s:%d):%s%s code should not be reached",
-				__FILE__, __LINE__, G_STRFUNC, G_STRFUNC[0] ? ":" : "");
-#endif
 	}
 }
 

mercurial