diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-03-02 16:31:57 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-04-12 11:39:04 +0100 |
commit | 9a7b5f6721c5554e4bf9e111e132746b63b233c0 (patch) | |
tree | 999084d76c60b9a13054a14e643aaaa1d9247543 /telepathy-glib/connection-handles.c | |
parent | 6f867844aaefb0e5239ff2328a4b7329b450f4dd (diff) | |
download | telepathy-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 'telepathy-glib/connection-handles.c')
-rw-r--r-- | telepathy-glib/connection-handles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/connection-handles.c b/telepathy-glib/connection-handles.c index 77c3bead4..0364eb4b0 100644 --- a/telepathy-glib/connection-handles.c +++ b/telepathy-glib/connection-handles.c @@ -175,7 +175,7 @@ tp_connection_hold_handles (TpConnection *self, g_return_if_fail (TP_IS_CONNECTION (self)); g_return_if_fail (handle_type > TP_HANDLE_TYPE_NONE); - g_return_if_fail (handle_type < NUM_TP_HANDLE_TYPES); + g_return_if_fail (handle_type < TP_NUM_HANDLE_TYPES); g_return_if_fail (n_handles >= 1); g_return_if_fail (callback != NULL); @@ -342,7 +342,7 @@ tp_connection_request_handles (TpConnection *self, g_return_if_fail (TP_IS_CONNECTION (self)); g_return_if_fail (handle_type > TP_HANDLE_TYPE_NONE); - g_return_if_fail (handle_type < NUM_TP_HANDLE_TYPES); + g_return_if_fail (handle_type < TP_NUM_HANDLE_TYPES); g_return_if_fail (ids != NULL); g_return_if_fail (ids[0] != NULL); g_return_if_fail (callback != NULL); |