From 40d33622db46952e016cc8e540403cccb7ba6103 Mon Sep 17 00:00:00 2001 From: Patryk Zawadzki Date: Tue, 16 Jun 2009 15:37:08 +0200 Subject: Introduce empathy_contact_equal, adapt themes Fixed adium and boxes theme engines to check if contacts refer to the same id instead of comparing pointers. This fixes bug #585885. --- libempathy/empathy-contact.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libempathy/empathy-contact.h') diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h index f4418768e..f88831342 100644 --- a/libempathy/empathy-contact.h +++ b/libempathy/empathy-contact.h @@ -125,7 +125,9 @@ gboolean empathy_avatar_save_to_file (EmpathyAvatar *avatar, GHashTable * empathy_contact_get_location (EmpathyContact *contact); void empathy_contact_set_location (EmpathyContact *contact, - GHashTable *location); + GHashTable *location); +gboolean empathy_contact_equal (gconstpointer contact1, + gconstpointer contact2); G_END_DECLS -- cgit v1.2.3