Mercurial > pidgin
diff src/protocols/sametime/meanwhile/srvc_im.c @ 12166:d6417efb990c
[gaim-migrate @ 14467]
g_str_has_prefix is only available in glib >= 2.2.0. we already have a
wrapper for this in gaim, but I guess it's not legitimate to use that in
meanwhile, so I duplicated the wrapper there too. code reuse at it's worst.
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Sat, 19 Nov 2005 18:09:51 +0000 |
| parents | 0110fc7c6a8a |
| children | a2ebf585d8c6 |
line wrap: on
line diff
--- a/src/protocols/sametime/meanwhile/srvc_im.c Sat Nov 19 18:07:19 2005 +0000 +++ b/src/protocols/sametime/meanwhile/srvc_im.c Sat Nov 19 18:09:51 2005 +0000 @@ -184,7 +184,7 @@ c->features = srvc->features; /* mark external users */ - c->ext_id = g_str_has_prefix(to->user, "@E "); + c->ext_id = mw_str_has_prefix(to->user, "@E "); srvc->convs = g_list_prepend(srvc->convs, c); }
