From 5baebea7b3d7b5cb6afc37989a5e42d365c15052 Mon Sep 17 00:00:00 2001 From: Olivier CrĂȘte Date: Tue, 21 Aug 2012 19:43:29 -0700 Subject: Remove deprecated TP_ERRORS --- telepathy-farstream/channel.c | 2 +- telepathy-farstream/stream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/telepathy-farstream/channel.c b/telepathy-farstream/channel.c index 175e863..f509085 100644 --- a/telepathy-farstream/channel.c +++ b/telepathy-farstream/channel.c @@ -358,7 +358,7 @@ channel_prepared (GObject *obj, } else { - g_simple_async_result_set_error (res, TP_ERRORS, TP_ERROR_NOT_IMPLEMENTED, + g_simple_async_result_set_error (res, TP_ERROR, TP_ERROR_NOT_IMPLEMENTED, "Channel does not implement " TP_IFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING " or " TP_IFACE_CHANNEL_TYPE_CALL); diff --git a/telepathy-farstream/stream.c b/telepathy-farstream/stream.c index 2039dfe..7dd1e0c 100644 --- a/telepathy-farstream/stream.c +++ b/telepathy-farstream/stream.c @@ -1149,7 +1149,7 @@ async_method_callback_optional (TpMediaStreamHandler *proxy G_GNUC_UNUSED, { if (error == NULL || g_error_matches (error, DBUS_GERROR, G_DBUS_ERROR_UNKNOWN_METHOD) || - g_error_matches (error, TP_ERRORS, TP_ERROR_NOT_IMPLEMENTED)) + g_error_matches (error, TP_ERROR, TP_ERROR_NOT_IMPLEMENTED)) return; async_method_callback (proxy, error, user_data, weak_object); -- cgit v1.2.3