Mercurial > pidgin.yaz
diff src/protocols/qq/group_find.c @ 14055:44e1bf83dadf
[gaim-migrate @ 16668]
We have gaim_str_has_prefix() to use in place of g_str_has_prefix().
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 08 Aug 2006 00:25:19 +0000 |
parents | ef8490f9e823 |
children |
line wrap: on
line diff
--- a/src/protocols/qq/group_find.c Mon Aug 07 23:10:37 2006 +0000 +++ b/src/protocols/qq/group_find.c Tue Aug 08 00:25:19 2006 +0000 @@ -22,6 +22,7 @@ #include "conversation.h" #include "debug.h" +#include "util.h" #include "group_find.h" #include "group_network.h" @@ -39,7 +40,7 @@ /* if it starts with QQ_NAME_PREFIX, we think it is valid name already * otherwise we think it is nickname and try to find the matching gaim_name */ - if (g_str_has_prefix(who, QQ_NAME_PREFIX) && gaim_name_to_uid(who) > 0) + if (gaim_str_has_prefix(who, QQ_NAME_PREFIX) && gaim_name_to_uid(who) > 0) return (gchar *) who; group = qq_group_find_by_channel(gc, channel);