summaryrefslogtreecommitdiff
path: root/src/bonjour-self.c
diff options
context:
space:
mode:
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;
}