summaryrefslogtreecommitdiff
path: root/src/search-channel.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-06-08 12:53:34 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-06-08 13:40:28 +0100
commit9a1e2f0f68cc66d55a3f80f61d976c2c48342950 (patch)
treeb4a9f9b50e89842c1d8c1e7e69280b4aee526f35 /src/search-channel.c
parent1437db49eaa480e94bb28db9a4032baff34cdaea (diff)
downloadtelepathy-gabble-9a1e2f0f68cc66d55a3f80f61d976c2c48342950.tar.gz
Use telepathy-glib's code for ContactInfo
We already depend on the required version, 0.11.3. Some types from ContactInfo are used in ContactSearch, and need to be converted into <tp:external-type>. Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'src/search-channel.c')
-rw-r--r--src/search-channel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/search-channel.c b/src/search-channel.c
index 99556b74a..a2148a4a3 100644
--- a/src/search-channel.c
+++ b/src/search-channel.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <telepathy-glib/dbus.h>
+#include <telepathy-glib/gtypes.h>
#include <telepathy-glib/interfaces.h>
#include <telepathy-glib/svc-channel.h>
#include <telepathy-glib/util.h>
@@ -1095,7 +1096,7 @@ gabble_search_channel_init (GabbleSearchChannel *self)
static void
free_info (GPtrArray *info)
{
- g_boxed_free (GABBLE_ARRAY_TYPE_CONTACT_INFO_FIELD_LIST, info);
+ g_boxed_free (TP_ARRAY_TYPE_CONTACT_INFO_FIELD_LIST, info);
}
static GObject *