summaryrefslogtreecommitdiff
path: root/telepathy-glib/handle-repo-static.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 19:06:24 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 20:19:36 +0100
commit9aec808ae99f5b06c816943fc1648358af0d8294 (patch)
treeac7f5cd918ca45932fd321648e9f589d35e966c2 /telepathy-glib/handle-repo-static.c
parent2cc2520bcfa36c834dab111ebf41637bbfc8371f (diff)
downloadtelepathy-glib-9aec808ae99f5b06c816943fc1648358af0d8294.tar.gz
Stop using TP_ERRORS
We deprecated this in 0.11.
Diffstat (limited to 'telepathy-glib/handle-repo-static.c')
-rw-r--r--telepathy-glib/handle-repo-static.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/handle-repo-static.c b/telepathy-glib/handle-repo-static.c
index 5477f8aa9..322adced5 100644
--- a/telepathy-glib/handle-repo-static.c
+++ b/telepathy-glib/handle-repo-static.c
@@ -197,7 +197,7 @@ static_handle_is_valid (TpHandleRepoIface *irepo,
if (handle <= 0 || handle > self->last_handle)
{
- g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_HANDLE,
+ g_set_error (error, TP_ERROR, TP_ERROR_INVALID_HANDLE,
"handle %u is not a valid %s handle (type %u)",
handle, tp_handle_type_to_string (self->handle_type),
self->handle_type);
@@ -281,7 +281,7 @@ static_lookup_handle (TpHandleRepoIface *irepo,
return (TpHandle) i + 1;
}
- g_set_error (error, TP_ERRORS, TP_ERROR_NOT_AVAILABLE,
+ g_set_error (error, TP_ERROR, TP_ERROR_NOT_AVAILABLE,
"'%s' is not one of the valid handles", id);
return 0;
}