summaryrefslogtreecommitdiff
path: root/telepathy-glib/message-mixin.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-09 19:06:39 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-09 19:06:39 +0200
commit53cf9df185364f552d60415de885936ed6a51b81 (patch)
tree0fb7ac841329d9d3ed5fa545944d7b6baffdc027 /telepathy-glib/message-mixin.c
parent5d616b7d39c9c9a7af4d31ceecd903f5d968bb0c (diff)
Silent warning about some used deprecated symbols
Diffstat (limited to 'telepathy-glib/message-mixin.c')
-rw-r--r--telepathy-glib/message-mixin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/message-mixin.c b/telepathy-glib/message-mixin.c
index 696bd441d..6562c6e58 100644
--- a/telepathy-glib/message-mixin.c
+++ b/telepathy-glib/message-mixin.c
@@ -466,7 +466,7 @@ tp_message_mixin_set_chat_state_async (TpSvcChannelInterfaceChatState *iface,
{
DEBUG ("invalid chat state %u", state);
- g_set_error (&error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ g_set_error (&error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"invalid state: %u", state);
goto error;
}
@@ -476,7 +476,7 @@ tp_message_mixin_set_chat_state_async (TpSvcChannelInterfaceChatState *iface,
/* We cannot explicitly set the Gone state */
DEBUG ("you may not explicitly set the Gone state");
- g_set_error (&error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ g_set_error (&error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"you may not explicitly set the Gone state");
goto error;
}