diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-05 10:52:28 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-05 10:52:28 +0200 |
commit | fadc6d5367b3e0761b2fd8e6097630ec47e47f80 (patch) | |
tree | cdff82e31088ab611da0d32b2d5d613edc89b78a /tests | |
parent | 2672e2526bf720c8918eb5c89637c52e42de5423 (diff) | |
download | telepathy-logger-fadc6d5367b3e0761b2fd8e6097630ec47e47f80.tar.gz |
simple-conn: use TP_ERROR instead of TP_ERRORS
The latter has been deprecated. Ideally we should sync this file from tp-glib
but the current version depends on tp-glib 0.19.x
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/simple-conn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/simple-conn.c b/tests/lib/simple-conn.c index cbe3eda..f065825 100644 --- a/tests/lib/simple-conn.c +++ b/tests/lib/simple-conn.c @@ -151,14 +151,14 @@ tp_tests_simple_normalize_contact (TpHandleRepoIface *repo, { if (id[0] == '\0') { - g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_HANDLE, + g_set_error (error, TP_ERROR, TP_ERROR_INVALID_HANDLE, "ID must not be empty"); return NULL; } if (strchr (id, ' ') != NULL) { - g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_HANDLE, + g_set_error (error, TP_ERROR, TP_ERROR_INVALID_HANDLE, "ID must not contain spaces"); return NULL; } |