call-window: use HandleWithTime()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 27 Jan 2014 12:03:13 +0000 (13:03 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 27 Jan 2014 12:03:13 +0000 (13:03 +0100)
Makes transition to next easier as HandleWith() is going to always have the
'time' argument.

src/empathy-call-window.c

index 077cbe3..7371abd 100644 (file)
@@ -1510,8 +1510,9 @@ empathy_call_window_incoming_call_response_cb (GtkDialog *dialog,
   switch (response_id)
     {
       case GTK_RESPONSE_ACCEPT:
-        tp_channel_dispatch_operation_handle_with_async (
-            self->priv->pending_cdo, EMPATHY_CALL_BUS_NAME, NULL, NULL);
+        tp_channel_dispatch_operation_handle_with_time_async (
+            self->priv->pending_cdo, EMPATHY_CALL_BUS_NAME,
+            empathy_get_current_action_time (), NULL, NULL);
 
         tp_clear_object (&self->priv->pending_cdo);
         tp_clear_object (&self->priv->pending_channel);