diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-18 23:53:38 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-18 23:53:38 +0800 |
commit | d345fc72a9ff9ce2af454f428b56f78cb611416a (patch) | |
tree | cc66f9e49c83fb95fcdc21acc3dbad4bc16f7cb3 /libempathy | |
parent | fc409d61494d325be2714f8b5a7aff2281755248 (diff) | |
download | gsoc2013-empathy-d345fc72a9ff9ce2af454f428b56f78cb611416a.tar gsoc2013-empathy-d345fc72a9ff9ce2af454f428b56f78cb611416a.tar.gz gsoc2013-empathy-d345fc72a9ff9ce2af454f428b56f78cb611416a.tar.bz2 gsoc2013-empathy-d345fc72a9ff9ce2af454f428b56f78cb611416a.tar.lz gsoc2013-empathy-d345fc72a9ff9ce2af454f428b56f78cb611416a.tar.xz gsoc2013-empathy-d345fc72a9ff9ce2af454f428b56f78cb611416a.tar.zst gsoc2013-empathy-d345fc72a9ff9ce2af454f428b56f78cb611416a.zip |
Depend on telepathy-logger (#610956)
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/Makefile.am | 27 | ||||
-rw-r--r-- | libempathy/empathy-contact.c | 5 | ||||
-rw-r--r-- | libempathy/empathy-contact.h | 4 | ||||
-rw-r--r-- | libempathy/empathy-message.c | 4 | ||||
-rw-r--r-- | libempathy/empathy-message.h | 4 |
5 files changed, 0 insertions, 44 deletions
diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am index c8d362952..d44d8afef 100644 --- a/libempathy/Makefile.am +++ b/libempathy/Makefile.am @@ -8,7 +8,6 @@ AM_CPPFLAGS = \ -DDATADIR=\""$(datadir)"\" \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DG_LOG_DOMAIN=\"empathy\" \ - $(TPL_CFLAGS) \ $(LIBEMPATHY_CFLAGS) \ $(GEOCLUE_CFLAGS) \ $(NETWORK_MANAGER_CFLAGS) \ @@ -61,14 +60,6 @@ libempathy_headers = \ empathy-types.h \ empathy-utils.h -if !ENABLE_TPL -libempathy_headers += \ - empathy-log-manager.h \ - empathy-log-store-empathy.h \ - empathy-log-store.h \ - $(NULL) -endif - libempathy_la_SOURCES = \ $(libempathy_headers) \ empathy-account-settings.c \ @@ -103,14 +94,6 @@ libempathy_la_SOURCES = \ empathy-tp-roomlist.c \ empathy-utils.c -if !ENABLE_TPL -libempathy_la_SOURCES += \ - empathy-log-manager.c \ - empathy-log-store-empathy.c \ - empathy-log-store.c \ - $(NULL) -endif - # do not distribute generated files nodist_libempathy_la_SOURCES =\ $(BUILT_SOURCES) @@ -119,7 +102,6 @@ libempathy_la_LIBADD = \ $(top_builddir)/extensions/libemp-extensions.la \ $(LIBEMPATHY_LIBS) \ $(GEOCLUE_LIBS) \ - $(TPL_LIBS) \ $(NETWORK_MANAGER_LIBS) \ $(CONNMAN_LIBS) @@ -192,11 +174,6 @@ dtd_DATA = \ empathy-chatroom-manager.dtd \ empathy-irc-networks.dtd -if !ENABLE_TPL -stylesheetdir = $(datadir)/empathy -stylesheet_DATA = empathy-log-manager.xsl -endif - ircnetworksdir = $(datadir)/empathy ircnetworks_DATA = \ irc-networks.xml @@ -206,10 +183,6 @@ EXTRA_DIST = \ $(dtd_DATA) \ $(ircnetworks_DATA) -if !ENABLE_TPL -EXTRA_DIST += $(stylesheet_DATA) -endif - CLEANFILES = \ $(BUILT_SOURCES) \ stamp-empathy-enum-types.h diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 7530730fc..cbd3bd0ae 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -28,9 +28,6 @@ #include <telepathy-glib/account-manager.h> #include <telepathy-glib/interfaces.h> #include <telepathy-glib/util.h> -#ifdef ENABEL_TPL -#include <telepathy-logger/contact.h> -#endif /* ENABLE_TPL */ #if HAVE_GEOCLUE #include <geoclue/geoclue-geocode.h> @@ -479,7 +476,6 @@ empathy_contact_new (TpContact *tp_contact) NULL); } -#ifdef ENABLE_TPL EmpathyContact * empathy_contact_from_tpl_contact (TpAccount *account, TplEntity *tpl_entity) @@ -504,7 +500,6 @@ empathy_contact_from_tpl_contact (TpAccount *account, return retval; } -#endif /* ENABLE_TPL */ EmpathyContact * empathy_contact_new_for_log (TpAccount *account, diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h index 69c215ad4..ddb3f66c0 100644 --- a/libempathy/empathy-contact.h +++ b/libempathy/empathy-contact.h @@ -26,9 +26,7 @@ #include <telepathy-glib/contact.h> #include <telepathy-glib/account.h> -#ifdef ENABLE_TPL #include <telepathy-logger/entity.h> -#endif /* ENABLE_TPL */ G_BEGIN_DECLS @@ -73,10 +71,8 @@ typedef enum { GType empathy_contact_get_type (void) G_GNUC_CONST; EmpathyContact * empathy_contact_new (TpContact *tp_contact); -#ifdef ENABLE_TPL EmpathyContact * empathy_contact_from_tpl_contact (TpAccount *account, TplEntity *tpl_contact); -#endif /* ENABLE_TPL */ EmpathyContact * empathy_contact_new_for_log (TpAccount *account, const gchar *id, const gchar *name, gboolean is_user); TpContact * empathy_contact_get_tp_contact (EmpathyContact *contact); diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c index ab9e95d37..3d755c92b 100644 --- a/libempathy/empathy-message.c +++ b/libempathy/empathy-message.c @@ -27,14 +27,12 @@ #include <string.h> #include <telepathy-glib/util.h> -#ifdef ENABLE_TPL #include <telepathy-glib/account.h> #include <telepathy-glib/account-manager.h> #include <telepathy-logger/entity.h> #include <telepathy-logger/entry.h> #include <telepathy-logger/entry-text.h> -#endif /* ENABLE_TPL */ #include "empathy-message.h" #include "empathy-utils.h" @@ -260,7 +258,6 @@ empathy_message_new (const gchar *body) NULL); } -#ifdef ENABLE_TPL EmpathyMessage * empathy_message_from_tpl_log_entry (TplEntry *logentry) { @@ -323,7 +320,6 @@ empathy_message_from_tpl_log_entry (TplEntry *logentry) return retval; } -#endif /* ENABLE_TPL */ TpChannelTextMessageType empathy_message_get_tptype (EmpathyMessage *message) diff --git a/libempathy/empathy-message.h b/libempathy/empathy-message.h index d7f29f748..b7a63f81e 100644 --- a/libempathy/empathy-message.h +++ b/libempathy/empathy-message.h @@ -26,9 +26,7 @@ #define __EMPATHY_MESSAGE_H__ #include <glib-object.h> -#ifdef ENABLE_TPL #include <telepathy-logger/entry.h> -#endif #include "empathy-contact.h" #include "empathy-time.h" @@ -56,9 +54,7 @@ struct _EmpathyMessageClass { GType empathy_message_get_type (void) G_GNUC_CONST; EmpathyMessage * empathy_message_new (const gchar *body); -#ifdef ENABLE_TPL EmpathyMessage * empathy_message_from_tpl_log_entry (TplEntry *logentry); -#endif /* ENABLE_TPL */ TpChannelTextMessageType empathy_message_get_tptype (EmpathyMessage *message); void empathy_message_set_tptype (EmpathyMessage *message, TpChannelTextMessageType type); |