From da5288f52ae5af2100caff3fe80dd981d2333d32 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Tue, 4 May 2010 11:49:05 +0100 Subject: Set the user action time when the user approves stuff --- libempathy/empathy-dispatch-operation.c | 10 ++++++++++ libempathy/empathy-dispatch-operation.h | 4 ++++ 2 files changed, 14 insertions(+) (limited to 'libempathy') diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c index 6c5fa38d8..08013889e 100644 --- a/libempathy/empathy-dispatch-operation.c +++ b/libempathy/empathy-dispatch-operation.c @@ -702,6 +702,16 @@ empathy_dispatch_operation_is_incoming (EmpathyDispatchOperation *operation) return priv->incoming; } +void +empathy_dispatch_operation_set_user_action_time ( + EmpathyDispatchOperation *self, + gint64 user_action_time) +{ + EmpathyDispatchOperationPriv *priv = GET_PRIV (self); + + priv->user_action_time = user_action_time; +} + gint64 empathy_dispatch_operation_get_user_action_time (EmpathyDispatchOperation *self) { diff --git a/libempathy/empathy-dispatch-operation.h b/libempathy/empathy-dispatch-operation.h index 3e7bc92c5..f199be521 100644 --- a/libempathy/empathy-dispatch-operation.h +++ b/libempathy/empathy-dispatch-operation.h @@ -118,6 +118,10 @@ EmpathyDispatchOperationState empathy_dispatch_operation_get_status ( gboolean empathy_dispatch_operation_is_incoming ( EmpathyDispatchOperation *operation); +void empathy_dispatch_operation_set_user_action_time ( + EmpathyDispatchOperation *self, + gint64 user_action_time); + gint64 empathy_dispatch_operation_get_user_action_time ( EmpathyDispatchOperation *self); -- cgit v1.2.3