diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-11-25 12:18:31 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-11-25 13:49:33 +0000 |
commit | fb79e9ada8bab21e558df009941d2e3959f35364 (patch) | |
tree | 4a7435f411d647ac2cb84a697d205dc5d338d8b8 /examples/client | |
parent | 133a010bf6b3c74e564d1453f85feb94f9a43f55 (diff) |
Use G_N_ELEMENTS throughout
Diffstat (limited to 'examples/client')
-rw-r--r-- | examples/client/inspect-contact.c | 4 |
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); } |