Mercurial > pidgin.yaz
diff libgaim/plugins/perl/common/BuddyList.xs @ 15142:66c857a355b4
[gaim-migrate @ 17927]
Stephen Pope in #gaim found a bug in our perl stuff where we were
creating some hash tables that used g_direct_hash instead of
g_str_hash
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 09 Dec 2006 20:11:43 +0000 |
parents | b1fcd2fc903a |
children |
line wrap: on
line diff
--- a/libgaim/plugins/perl/common/BuddyList.xs Sat Dec 09 07:39:29 2006 +0000 +++ b/libgaim/plugins/perl/common/BuddyList.xs Sat Dec 09 20:11:43 2006 +0000 @@ -310,7 +310,7 @@ char *t_key, *t_value; CODE: t_HV = (HV *)SvRV(components); - t_GHash = g_hash_table_new(NULL, NULL); + t_GHash = g_hash_table_new(g_str_hash, g_str_equal); for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) { t_key = hv_iterkey(t_HE, &len);