summaryrefslogtreecommitdiff
path: root/src/bonjour-self.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-07 17:17:15 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-07 19:17:57 +0100
commitffa3b8074f3cddbaa9796871a1d887f3327456d4 (patch)
tree9fea24334cbde81973465b2deade8814536ffeaf /src/bonjour-self.c
parent83c0f5a8f674794bab1b62aebb2c1bf21fa34c95 (diff)
downloadtelepathy-salut-ffa3b8074f3cddbaa9796871a1d887f3327456d4.tar.gz
Use TP_ERROR instead of long-deprecated TP_ERRORS
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49594 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
Diffstat (limited to 'src/bonjour-self.c')
-rw-r--r--src/bonjour-self.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bonjour-self.c b/src/bonjour-self.c
index 518db17b..d9a33908 100644
--- a/src/bonjour-self.c
+++ b/src/bonjour-self.c
@@ -39,7 +39,7 @@
#define RETURN_ERROR_IF_FAIL(error_type, error) \
if (error_type != kDNSServiceErr_NoError) \
{ \
- *error = g_error_new (TP_ERRORS, TP_ERROR_NOT_AVAILABLE, \
+ *error = g_error_new (TP_ERROR, TP_ERROR_NOT_AVAILABLE, \
"bonjour-self failed with (%d)", error_type); \
return FALSE; \
}
@@ -472,7 +472,7 @@ salut_bonjour_self_set_avatar (SalutSelf *_self,
if (!salut_bonjour_self_publish_avatar (self, data, size, error))
{
- *error = g_error_new (TP_ERRORS, TP_ERROR_NOT_AVAILABLE,
+ *error = g_error_new (TP_ERROR, TP_ERROR_NOT_AVAILABLE,
"bonjour-self failed with (%d)", error_type);
return FALSE;
}