summaryrefslogtreecommitdiff
path: root/examples/client
diff options
context:
space:
mode:
Diffstat (limited to 'examples/client')
-rw-r--r--examples/client/inspect-contact.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/client/inspect-contact.c b/examples/client/inspect-contact.c
index 872ef13a6..775044f8d 100644
--- a/examples/client/inspect-contact.c
+++ b/examples/client/inspect-contact.c
@@ -150,7 +150,7 @@ connection_ready_cb (TpConnection *connection,
tp_connection_get_contacts_by_handle (connection,
1, &self_handle,
- sizeof (features) / sizeof (features[0]), features,
+ G_N_ELEMENTS (features), features,
got_contacts_by_handle,
data, NULL, NULL);
}
@@ -160,7 +160,7 @@ connection_ready_cb (TpConnection *connection,
tp_connection_get_contacts_by_id (connection,
1, contacts,
- sizeof (features) / sizeof (features[0]), features,
+ G_N_ELEMENTS (features), features,
got_contacts_by_id,
data, NULL, NULL);
}