Revision: 16667
Author: evands
Date: 2006-08-07 16:10:37 -0700 (Mon, 07 Aug 2006)
ViewCVS: http://svn.sourceforge.net/gaim/?rev=16667&view=rev
Log Message:
-----------
Use GLIB_CHECK_VERSION to determine if g_str_has_prefix() is needed. As of glib 2.1.0 it was available.
Modified Paths:
--------------
trunk/src/protocols/qq/utils.c
Modified: trunk/src/protocols/qq/utils.c
===================================================================
--- trunk/src/protocols/qq/utils.c 2006-08-07 19:23:42 UTC (rev 16666)
+++ trunk/src/protocols/qq/utils.c 2006-08-07 23:10:37 UTC (rev 16667)
@@ -35,7 +35,7 @@
#define QQ_NAME_FORMAT "qq-%d"
-#ifndef g_str_has_prefix
+#if !GLIB_CHECK_VERSION(2, 1, 0)
gint g_str_has_prefix(const gchar *str, const gchar *prefix)
{
gint len = strlen(prefix);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|