changeset 26502:f9a923fde1e4

Remove usage of g_strcmp0 (which would bump the glib version requirement) where strcmp will do nicely
author Richard Nelson <wabz@pidgin.im>
date Mon, 06 Apr 2009 13:18:36 +0000
parents 71774735d571
children fb44acfae441
files finch/plugins/gnttinyurl.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/plugins/gnttinyurl.c	Mon Apr 06 11:23:07 2009 +0000
+++ b/finch/plugins/gnttinyurl.c	Mon Apr 06 13:18:36 2009 +0000
@@ -140,7 +140,7 @@
 					}
 
 					url_buf = g_strndup(c, t - c);
-					if (!g_list_find_custom(ret, url_buf, (GCompareFunc)g_strcmp0)) {
+					if (!g_list_find_custom(ret, url_buf, (GCompareFunc)strcmp)) {
 						purple_debug_info("TinyURL", "Added URL %s\n", url_buf);
 						ret = g_list_append(ret, g_strdup(url_buf));
 					}
@@ -170,7 +170,7 @@
 							t--;
 						}
 						url_buf = g_strndup(c, t - c);
-						if (!g_list_find_custom(ret, url_buf, (GCompareFunc)g_strcmp0)) {
+						if (!g_list_find_custom(ret, url_buf, (GCompareFunc)strcmp)) {
 							purple_debug_info("TinyURL", "Added URL %s\n", url_buf);
 							ret = g_list_append(ret, url_buf);
 						}