summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon.jongsma@collabora.co.uk>2009-10-05 21:26:36 -0500
committerJonathon Jongsma <jonathon.jongsma@collabora.co.uk>2009-10-20 22:32:43 -0500
commitf987daf630508106f9853b92102fdbd8a2cb2955 (patch)
tree0137a853fbd590143b28a6c2160dadf047c7b99c
parent783dbbeaf014f505c1ac6918be33a2b574710c32 (diff)
Remove unnecessary handle validity check
per wjt's review in bug #21957
-rw-r--r--src/idle-connection.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/idle-connection.c b/src/idle-connection.c
index 52cd607..3ad41df 100644
--- a/src/idle-connection.c
+++ b/src/idle-connection.c
@@ -493,13 +493,6 @@ get_contact_statuses(GObject *obj, const GArray *contacts, GError **error)
{
IdleConnection *self = IDLE_CONNECTION (obj);
IdleConnectionPrivate *priv = IDLE_CONNECTION_GET_PRIVATE (self);
- TpBaseConnection *base = TP_BASE_CONNECTION(self);
- TpHandleRepoIface *handle_repo = tp_base_connection_get_handles (base, TP_HANDLE_TYPE_CONTACT);
-
- if (!tp_handles_are_valid (handle_repo, contacts, FALSE, error))
- {
- return NULL;
- }
return idle_contact_manager_get_statuses(priv->contact_manager, contacts, error);
}