# HG changeset patch # User Richard Nelson # Date 1239023916 0 # Node ID f9a923fde1e4ad6c3dd7411aa05edd9401619f97 # Parent 71774735d5710218c7f378b8d4acc572c2a29db1 Remove usage of g_strcmp0 (which would bump the glib version requirement) where strcmp will do nicely diff -r 71774735d571 -r f9a923fde1e4 finch/plugins/gnttinyurl.c --- 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); }