changeset 22498:b6bf5a5f261b

Use purple_str_has_prefix which provides backwards compatibility with older Glib
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 17 Mar 2008 14:15:29 +0000
parents 5ddb2a65e7ea
children a8fff9da2791
files libpurple/protocols/simple/simple.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c	Mon Mar 17 14:13:47 2008 +0000
+++ b/libpurple/protocols/simple/simple.c	Mon Mar 17 14:15:29 2008 +0000
@@ -1209,7 +1209,7 @@
 			while (ssparts[i])
 			{
 				g_strchug(ssparts[i]);
-				if (g_str_has_prefix(ssparts[i], "terminated"))
+				if (purple_str_has_prefix(ssparts[i], "terminated"))
 				{
 					purple_debug_info("simple", "Subscription expired!");
 					g_free(b->dialog->ourtag);