Mercurial > pidgin
comparison finch/gntlog.c @ 26398:04a9e8435bfb
merge of '21bd048f68510f25c5c854a1c7e395e88f530503'
and '22ecf5b2d3d8874d498194695cb625a789c0754a'
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Wed, 01 Apr 2009 05:24:19 +0000 |
parents | b23211876f47 |
children | f7c5bb2f6623 |
comparison
equal
deleted
inserted
replaced
26396:43dcfcdd6a73 | 26398:04a9e8435bfb |
---|---|
64 if (viewer->account) { | 64 if (viewer->account) { |
65 return g_str_hash(viewer->username) + | 65 return g_str_hash(viewer->username) + |
66 g_str_hash(purple_account_get_username(viewer->account)); | 66 g_str_hash(purple_account_get_username(viewer->account)); |
67 } | 67 } |
68 | 68 |
69 return (guint)viewer; | 69 return g_direct_hash(viewer); |
70 } | 70 } |
71 | 71 |
72 static gboolean log_viewer_equal(gconstpointer y, gconstpointer z) | 72 static gboolean log_viewer_equal(gconstpointer y, gconstpointer z) |
73 { | 73 { |
74 const struct log_viewer_hash_t *a, *b; | 74 const struct log_viewer_hash_t *a, *b; |