[Telepathy-commits] [telepathy-gabble/master] Use TpHandle instead of guint
Pierre-Luc Beaudoin
pierre-luc.beaudoin at collabora.co.uk
Sun Feb 1 05:24:02 PST 2009
---
src/conn-location.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/conn-location.c b/src/conn-location.c
index 64d807b..d3280b7 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -109,7 +109,7 @@ location_get_locations (GabbleSvcConnectionInterfaceLocation *iface,
TpHandleRepoIface *contact_repo;
const gchar *jid;
GHashTable *location;
- guint contact = g_array_index (contacts, guint, i);
+ TpHandle contact = g_array_index (contacts, TpHandle, i);
contact_repo = tp_base_connection_get_handles (base,
TP_HANDLE_TYPE_CONTACT);
@@ -270,7 +270,7 @@ update_location_from_msg (GabbleConnection *conn,
TpHandleRepoIface *contact_repo = tp_base_connection_get_handles (
(TpBaseConnection *) conn, TP_HANDLE_TYPE_CONTACT);
- guint contact = tp_handle_lookup (contact_repo, from, NULL, NULL);
+ TpHandle contact = tp_handle_lookup (contact_repo, from, NULL, NULL);
node = lm_message_node_find_child (msg->node, "geoloc");
if (node == NULL)
--
1.5.6.5
More information about the Telepathy-commits
mailing list