aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2012-04-03 08:35:09 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2012-04-03 15:04:25 +0800
commit86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482 (patch)
tree00e86cf39583a83e41b9cef2be1304584d490f16 /libempathy-gtk
parent0d03cd1f3b1d50824db84490ce6fe80e49e5f6b9 (diff)
downloadgsoc2013-empathy-86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482.tar
gsoc2013-empathy-86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482.tar.gz
gsoc2013-empathy-86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482.tar.bz2
gsoc2013-empathy-86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482.tar.lz
gsoc2013-empathy-86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482.tar.xz
gsoc2013-empathy-86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482.tar.zst
gsoc2013-empathy-86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482.zip
TplCallEndReason ceased to exist on March 28
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-log-window.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 72d4d464d..c11bb02c3 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -1236,11 +1236,11 @@ get_icon_for_event (TplEvent *event)
else if (TPL_IS_CALL_EVENT (event))
{
TplCallEvent *call = TPL_CALL_EVENT (event);
- TplCallEndReason reason = tpl_call_event_get_end_reason (call);
+ TpCallStateChangeReason reason = tpl_call_event_get_end_reason (call);
TplEntity *sender = tpl_event_get_sender (event);
TplEntity *receiver = tpl_event_get_receiver (event);
- if (reason == TPL_CALL_END_REASON_NO_ANSWER)
+ if (reason == TP_CALL_STATE_CHANGE_REASON_NO_ANSWER)
icon = EMPATHY_IMAGE_CALL_MISSED;
else if (tpl_entity_get_entity_type (sender) == TPL_ENTITY_SELF)
icon = EMPATHY_IMAGE_CALL_OUTGOING;
@@ -1357,7 +1357,7 @@ log_window_append_call (TplEvent *event,
COL_EVENTS_EVENT, event,
-1);
- if (tpl_call_event_get_end_reason (call) != TPL_CALL_END_REASON_NO_ANSWER)
+ if (tpl_call_event_get_end_reason (call) != TP_CALL_STATE_CHANGE_REASON_NO_ANSWER)
{
gchar *body;
gchar *tmp;
@@ -3243,11 +3243,12 @@ log_window_got_messages_for_date_cb (GObject *manager,
}
else
{
- TplCallEndReason reason = tpl_call_event_get_end_reason (call);
+ TpCallStateChangeReason reason =
+ tpl_call_event_get_end_reason (call);
TplEntity *sender = tpl_event_get_sender (event);
TplEntity *receiver = tpl_event_get_receiver (event);
- if (reason == TPL_CALL_END_REASON_NO_ANSWER)
+ if (reason == TP_CALL_STATE_CHANGE_REASON_NO_ANSWER)
{
if (ctx->subtype & EVENT_CALL_MISSED)
append = TRUE;