summaryrefslogtreecommitdiff
path: root/src/connection-mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection-mail.c')
-rw-r--r--src/connection-mail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection-mail.c b/src/connection-mail.c
index 9b71c9d..475e652 100644
--- a/src/connection-mail.c
+++ b/src/connection-mail.c
@@ -70,7 +70,7 @@ haze_connection_mail_request_inbox_url (
HazeSvcConnectionInterfaceMailNotification *iface,
DBusGMethodInvocation *context)
{
- GError e = {TP_ERROR, TP_ERROR_NOT_IMPLEMENTED,
+ GError e = {TP_ERRORS, TP_ERROR_NOT_IMPLEMENTED,
"LibPurple does not provide Inbox URL"};
dbus_g_method_return_error (context, &e);
}
@@ -87,7 +87,7 @@ haze_connection_mail_request_mail_url (
if (!G_VALUE_HOLDS_STRING (in_url_data))
{
- GError e = {TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
+ GError e = {TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
"Wrong type for url-data"};
dbus_g_method_return_error (context, &e);
return;