summaryrefslogtreecommitdiff
path: root/tests/test-handles.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-handles.c')
-rw-r--r--tests/test-handles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-handles.c b/tests/test-handles.c
index 6522a749c..2a873d5f5 100644
--- a/tests/test-handles.c
+++ b/tests/test-handles.c
@@ -10,7 +10,7 @@
#include "src/connection.h"
static void
-test_handles (guint handle_type)
+test_handles (guint entity_type)
{
TpHandleRepoIface *repos[TP_NUM_ENTITY_TYPES];
TpHandleRepoIface *tp_repo = NULL;
@@ -26,7 +26,7 @@ test_handles (guint handle_type)
repos[i] = NULL;
}
_gabble_connection_create_handle_repos (NULL, repos);
- tp_repo = repos[handle_type];
+ tp_repo = repos[entity_type];
g_assert (tp_repo != NULL);
/* Handle zero is never valid */