From 682b70335bf789a60508f1d0b1b1ab119fc3f4dc Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 17 Aug 2010 16:36:54 +0200 Subject: use TP_USER_ACTION_TIME_* (#627165) --- libempathy/empathy-dispatcher.h | 3 --- libempathy/empathy-ft-handler.c | 2 +- libempathy/empathy-tp-chat.c | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-dispatcher.h b/libempathy/empathy-dispatcher.h index bf6e169b7..cd54fa5d1 100644 --- a/libempathy/empathy-dispatcher.h +++ b/libempathy/empathy-dispatcher.h @@ -38,9 +38,6 @@ G_BEGIN_DECLS #define EMPATHY_IS_DISPATCHER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_DISPATCHER)) #define EMPATHY_DISPATCHER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_DISPATCHER, EmpathyDispatcherClass)) -#define EMPATHY_DISPATCHER_NON_USER_ACTION (G_GINT64_CONSTANT (0)) -#define EMPATHY_DISPATCHER_CURRENT_TIME G_MAXINT64 - typedef struct _EmpathyDispatcher EmpathyDispatcher; typedef struct _EmpathyDispatcherClass EmpathyDispatcherClass; diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c index 13568cef9..f18278a71 100644 --- a/libempathy/empathy-ft-handler.c +++ b/libempathy/empathy-ft-handler.c @@ -761,7 +761,7 @@ ft_handler_push_to_dispatcher (EmpathyFTHandler *handler) account = empathy_contact_get_account (priv->contact); req = tp_account_channel_request_new (account, priv->request, - EMPATHY_DISPATCHER_NON_USER_ACTION); + TP_USER_ACTION_TIME_NOT_USER_ACTION); tp_account_channel_request_create_and_handle_channel_async (req, NULL, ft_handler_create_channel_cb, handler); diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 2fd6fc506..6f4874fc8 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -167,7 +167,7 @@ tp_chat_add (EmpathyContactList *list, NULL); req = tp_account_channel_request_new (priv->account, props, - EMPATHY_DISPATCHER_NON_USER_ACTION); + TP_USER_ACTION_TIME_NOT_USER_ACTION); /* Although this is a MUC, it's anonymous, so CreateChannel is * valid. */ -- cgit v1.2.3