summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-02 16:31:57 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-12 11:39:04 +0100
commit9a7b5f6721c5554e4bf9e111e132746b63b233c0 (patch)
tree999084d76c60b9a13054a14e643aaaa1d9247543 /examples
parent6f867844aaefb0e5239ff2328a4b7329b450f4dd (diff)
downloadtelepathy-glib-9a7b5f6721c5554e4bf9e111e132746b63b233c0.tar.gz
Use TP_NUM_… instead of NUM_TP_…
Based on a patch from Jonny Lamb, updated for current master. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46470
Diffstat (limited to 'examples')
-rw-r--r--examples/cm/call/conn.c2
-rw-r--r--examples/cm/channelspecific/conn.c2
-rw-r--r--examples/cm/contactlist/conn.c2
-rw-r--r--examples/cm/echo-message-parts/conn.c2
-rw-r--r--examples/cm/extended/conn.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/cm/call/conn.c b/examples/cm/call/conn.c
index 696256788..34c561309 100644
--- a/examples/cm/call/conn.c
+++ b/examples/cm/call/conn.c
@@ -158,7 +158,7 @@ example_call_normalize_contact (TpHandleRepoIface *repo,
static void
create_handle_repos (TpBaseConnection *conn,
- TpHandleRepoIface *repos[NUM_TP_HANDLE_TYPES])
+ TpHandleRepoIface *repos[TP_NUM_HANDLE_TYPES])
{
repos[TP_HANDLE_TYPE_CONTACT] = tp_dynamic_handle_repo_new
(TP_HANDLE_TYPE_CONTACT, example_call_normalize_contact, NULL);
diff --git a/examples/cm/channelspecific/conn.c b/examples/cm/channelspecific/conn.c
index 1b2bc9023..603ca0204 100644
--- a/examples/cm/channelspecific/conn.c
+++ b/examples/cm/channelspecific/conn.c
@@ -160,7 +160,7 @@ example_csh_normalize_room (TpHandleRepoIface *repo,
static void
create_handle_repos (TpBaseConnection *conn,
- TpHandleRepoIface *repos[NUM_TP_HANDLE_TYPES])
+ TpHandleRepoIface *repos[TP_NUM_HANDLE_TYPES])
{
repos[TP_HANDLE_TYPE_CONTACT] = tp_dynamic_handle_repo_new
(TP_HANDLE_TYPE_CONTACT, example_csh_normalize_contact, NULL);
diff --git a/examples/cm/contactlist/conn.c b/examples/cm/contactlist/conn.c
index 2eb3a8069..9f0a5f1c4 100644
--- a/examples/cm/contactlist/conn.c
+++ b/examples/cm/contactlist/conn.c
@@ -151,7 +151,7 @@ example_contact_list_normalize_contact (TpHandleRepoIface *repo,
static void
create_handle_repos (TpBaseConnection *conn,
- TpHandleRepoIface *repos[NUM_TP_HANDLE_TYPES])
+ TpHandleRepoIface *repos[TP_NUM_HANDLE_TYPES])
{
repos[TP_HANDLE_TYPE_CONTACT] = tp_dynamic_handle_repo_new
(TP_HANDLE_TYPE_CONTACT, example_contact_list_normalize_contact, NULL);
diff --git a/examples/cm/echo-message-parts/conn.c b/examples/cm/echo-message-parts/conn.c
index 62502e236..84450254a 100644
--- a/examples/cm/echo-message-parts/conn.c
+++ b/examples/cm/echo-message-parts/conn.c
@@ -109,7 +109,7 @@ example_normalize_contact (TpHandleRepoIface *repo G_GNUC_UNUSED,
static void
create_handle_repos (TpBaseConnection *conn,
- TpHandleRepoIface *repos[NUM_TP_HANDLE_TYPES])
+ TpHandleRepoIface *repos[TP_NUM_HANDLE_TYPES])
{
repos[TP_HANDLE_TYPE_CONTACT] = tp_dynamic_handle_repo_new
(TP_HANDLE_TYPE_CONTACT, example_normalize_contact, NULL);
diff --git a/examples/cm/extended/conn.c b/examples/cm/extended/conn.c
index 1cd18dc26..0f8d51b65 100644
--- a/examples/cm/extended/conn.c
+++ b/examples/cm/extended/conn.c
@@ -130,7 +130,7 @@ example_normalize_contact (TpHandleRepoIface *repo,
static void
create_handle_repos (TpBaseConnection *conn,
- TpHandleRepoIface *repos[NUM_TP_HANDLE_TYPES])
+ TpHandleRepoIface *repos[TP_NUM_HANDLE_TYPES])
{
repos[TP_HANDLE_TYPE_CONTACT] = tp_dynamic_handle_repo_new
(TP_HANDLE_TYPE_CONTACT, example_normalize_contact, NULL);