[Telepathy-commits] [telepathy-gabble/master] Remove unneeded casts
Alban Crequy
alban.crequy at collabora.co.uk
Tue Aug 19 10:52:39 PDT 2008
20080513103519-a41c0-218ca503148eb3ceee1d44a037c2d6caa5e80ed1.gz
---
src/caps-hash.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/caps-hash.c b/src/caps-hash.c
index fde2dee..d2abda3 100644
--- a/src/caps-hash.c
+++ b/src/caps-hash.c
@@ -98,7 +98,7 @@ _free_form (gpointer data, gpointer user_data)
g_free (form->form_type);
- g_ptr_array_foreach (form->fields, (GFunc) _free_field, NULL);
+ g_ptr_array_foreach (form->fields, _free_field, NULL);
g_slice_free1 (sizeof (struct _dataform), form);
}
@@ -111,7 +111,7 @@ gabble_presence_free_xep0115_hash (
{
g_ptr_array_foreach (features, (GFunc) g_free, NULL);
g_ptr_array_foreach (identities, (GFunc) g_free, NULL);
- g_ptr_array_foreach (dataforms, (GFunc) _free_form, NULL);
+ g_ptr_array_foreach (dataforms, _free_form, NULL);
g_ptr_array_free (features, TRUE);
g_ptr_array_free (identities, TRUE);
--
1.5.6.3
More information about the Telepathy-commits
mailing list