summaryrefslogtreecommitdiff
path: root/src/mcd-dispatch-operation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mcd-dispatch-operation.c')
-rw-r--r--src/mcd-dispatch-operation.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index 57054f60..60de4ab5 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -751,7 +751,6 @@ dispatch_operation_handle_with (TpSvcChannelDispatchOperation *cdo,
{
GError *error = NULL;
McdDispatchOperation *self = MCD_DISPATCH_OPERATION (cdo);
- GTimeVal now = { 0, 0 };
DEBUG ("%s/%p", self->priv->unique_name, self);
@@ -762,8 +761,8 @@ dispatch_operation_handle_with (TpSvcChannelDispatchOperation *cdo,
return;
}
- g_get_current_time (&now);
- self->priv->handle_with_time = now.tv_sec;
+ /* 0 is a special case for 'no user action' */
+ self->priv->handle_with_time = 0;
g_queue_push_tail (self->priv->approvals,
approval_new_handle_with (handler_name, context));