From d345fc72a9ff9ce2af454f428b56f78cb611416a Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 18 Jun 2010 17:53:38 +0200 Subject: Depend on telepathy-logger (#610956) --- src/Makefile.am | 2 -- src/empathy.c | 13 ------------- 2 files changed, 15 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 41020dd11..6f8017f45 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,7 +13,6 @@ CPPFLAGS_COMMON = \ AM_LDFLAGS = -lm AM_CPPFLAGS = \ $(CPPFLAGS_COMMON) \ - $(TPL_CFLAGS) \ $(LIBNOTIFY_CFLAGS) \ $(LIBCHAMPLAIN_CFLAGS) \ $(WEBKIT_CFLAGS) \ @@ -23,7 +22,6 @@ LDADD = \ $(top_builddir)/libempathy-gtk/libempathy-gtk.la \ $(top_builddir)/libempathy/libempathy.la \ $(top_builddir)/extensions/libemp-extensions.la \ - $(TPL_LIBS) \ $(LIBNOTIFY_LIBS) \ $(EMPATHY_LIBS) \ $(LIBCHAMPLAIN_LIBS) \ diff --git a/src/empathy.c b/src/empathy.c index 552b8e171..5a6b13199 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -44,12 +44,8 @@ #include #include -#ifdef ENABLE_TPL #include -#else -#include -#endif /* ENABLE_TPL */ #include #include #include @@ -576,11 +572,7 @@ main (int argc, char *argv[]) EmpathyStatusIcon *icon; EmpathyDispatcher *dispatcher; TpAccountManager *account_manager; -#ifdef ENABLE_TPL TplLogManager *log_manager; -#else - EmpathyLogManager *log_manager; -#endif /* ENABLE_TPL */ EmpathyChatroomManager *chatroom_manager; EmpathyCallFactory *call_factory; EmpathyFTFactory *ft_factory; @@ -701,12 +693,7 @@ main (int argc, char *argv[]) G_CALLBACK (unique_app_message_cb), window); /* Logging */ -#ifdef ENABLE_TPL log_manager = tpl_log_manager_dup_singleton (); -#else - log_manager = empathy_log_manager_dup_singleton (); - empathy_log_manager_observe (log_manager, dispatcher); -#endif chatroom_manager = empathy_chatroom_manager_dup_singleton (NULL); empathy_chatroom_manager_observe (chatroom_manager, dispatcher); -- cgit v1.2.3