pidgin: 2c0072ee: Use purple_str_has_prefix which provides...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Mon Mar 17 10:20:53 EDT 2008


-----------------------------------------------------------------
Revision: 2c0072ee994a411d5c2ab00dc1ae8e59a95396b2
Ancestor: a57a69fa3375363e0061f7ad23e80923b948b245
Author: nosnilmot at pidgin.im
Date: 2008-03-17T14:15:29
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2c0072ee994a411d5c2ab00dc1ae8e59a95396b2

Modified files:
        libpurple/protocols/simple/simple.c

ChangeLog: 

Use purple_str_has_prefix which provides backwards compatibility with older
Glib

-------------- next part --------------
============================================================
--- libpurple/protocols/simple/simple.c	dedb5a17539196a0240a92ac86947dee2bc27768
+++ libpurple/protocols/simple/simple.c	7c6473d029a3602b727963eda0e09aba20b7f59c
@@ -1209,7 +1209,7 @@ static void process_incoming_notify(stru
 			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);


More information about the Commits mailing list