]> git.0d.be Git - empathy.git/commitdiff
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 077cbe312169291c82e20338bd119d21f97923d2..7371abdf9b30fa048784b75cfc9f8653525ee5f6 100644 (file)
@@ -1510,8 +1510,9 @@ empathy_call_window_incoming_call_response_cb (GtkDialog *dialog,
   switch (response_id)
     {
       case GTK_RESPONSE_ACCEPT:
   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);
 
         tp_clear_object (&self->priv->pending_cdo);
         tp_clear_object (&self->priv->pending_channel);