aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2012-04-03 08:41:54 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2012-04-03 15:04:25 +0800
commitffd92c745b62faa628b17c8642f97ee596d933e1 (patch)
tree072a5436159ed7325d7e9307241aa2bfd7135335 /libempathy
parent86ba5be5fa9a044fbcce6618ac6cd6dd7bdf3482 (diff)
downloadgsoc2013-empathy-ffd92c745b62faa628b17c8642f97ee596d933e1.tar
gsoc2013-empathy-ffd92c745b62faa628b17c8642f97ee596d933e1.tar.gz
gsoc2013-empathy-ffd92c745b62faa628b17c8642f97ee596d933e1.tar.bz2
gsoc2013-empathy-ffd92c745b62faa628b17c8642f97ee596d933e1.tar.lz
gsoc2013-empathy-ffd92c745b62faa628b17c8642f97ee596d933e1.tar.xz
gsoc2013-empathy-ffd92c745b62faa628b17c8642f97ee596d933e1.tar.zst
gsoc2013-empathy-ffd92c745b62faa628b17c8642f97ee596d933e1.zip
Logger support for calls is no longer optional
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-message.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c
index a4caae122..777d4a672 100644
--- a/libempathy/empathy-message.c
+++ b/libempathy/empathy-message.c
@@ -35,9 +35,7 @@
#include <telepathy-logger/entity.h>
#include <telepathy-logger/event.h>
#include <telepathy-logger/text-event.h>
-#ifdef HAVE_CALL_LOGS
-# include <telepathy-logger/call-event.h>
-#endif
+#include <telepathy-logger/call-event.h>
#include "empathy-client-factory.h"
#include "empathy-message.h"
@@ -405,7 +403,6 @@ empathy_message_from_tpl_log_event (TplEvent *logevent)
type = tpl_text_event_get_message_type (TPL_TEXT_EVENT (logevent));
token = tpl_text_event_get_message_token (textevent);
}
-#ifdef HAVE_CALL_LOGS
else if (TPL_IS_CALL_EVENT (logevent)) {
TplCallEvent *call = TPL_CALL_EVENT (logevent);
@@ -422,7 +419,6 @@ empathy_message_from_tpl_log_event (TplEvent *logevent)
body = g_strdup_printf (_("Call from %s"),
tpl_entity_get_alias (tpl_event_get_sender (logevent)));
}
-#endif
else {
/* Unknown event type */
return NULL;