diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-08-31 08:13:00 +0800 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-08-31 08:17:49 +0800 |
commit | a0ee1ca8fbbbe6d34c123eb46b32fc4f1e75779b (patch) | |
tree | 4c5e99d6a02d87cce81e9204bb31653ea8b38c41 /libempathy-gtk | |
parent | 04fbe6bf259fd8fb75c8ed4c4e135fb4187045f5 (diff) | |
download | gsoc2013-empathy-a0ee1ca8fbbbe6d34c123eb46b32fc4f1e75779b.tar gsoc2013-empathy-a0ee1ca8fbbbe6d34c123eb46b32fc4f1e75779b.tar.gz gsoc2013-empathy-a0ee1ca8fbbbe6d34c123eb46b32fc4f1e75779b.tar.bz2 gsoc2013-empathy-a0ee1ca8fbbbe6d34c123eb46b32fc4f1e75779b.tar.lz gsoc2013-empathy-a0ee1ca8fbbbe6d34c123eb46b32fc4f1e75779b.tar.xz gsoc2013-empathy-a0ee1ca8fbbbe6d34c123eb46b32fc4f1e75779b.tar.zst gsoc2013-empathy-a0ee1ca8fbbbe6d34c123eb46b32fc4f1e75779b.zip |
Use char* not EmpathyMessage in TpChat:send-error
The only consumer of this signal just extracts the body from the
EmpathyMessage. It will be easier to handle the SendError D-Bus signal
if we don't have to construct an EmpathyMessage from it.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index a979c9e76..c08b49c3f 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -523,7 +523,7 @@ chat_message_received_cb (EmpathyTpChat *tp_chat, static void chat_send_error_cb (EmpathyTpChat *tp_chat, - EmpathyMessage *message, + const gchar *message_body, TpChannelTextSendError error_code, EmpathyChat *chat) { @@ -552,7 +552,7 @@ chat_send_error_cb (EmpathyTpChat *tp_chat, } str = g_strdup_printf (_("Error sending message '%s': %s"), - empathy_message_get_body (message), + message_body, error); empathy_chat_view_append_event (chat->view, str); g_free (str); |