Mercurial > pidgin
changeset 14054:51f71ad82141
[gaim-migrate @ 16667]
Use GLIB_CHECK_VERSION to determine if g_str_has_prefix() is needed. As of glib 2.1.0 it was available.
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Mon, 07 Aug 2006 23:10:37 +0000 |
parents | 96ef9966aa24 |
children | 44e1bf83dadf |
files | src/protocols/qq/utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/qq/utils.c Mon Aug 07 19:23:42 2006 +0000 +++ b/src/protocols/qq/utils.c Mon Aug 07 23:10:37 2006 +0000 @@ -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);