]> git.0d.be Git - empathy.git/blobdiff - src/empathy-call-factory.c
Updated Spanish translation
[empathy.git] / src / empathy-call-factory.c
index 865aeace247502b7eb7a679d51c00ff082a692da..3b57761d94c04f7a4dcf34c502c7c8b162503048 100644 (file)
  */
 
 #include "config.h"
-
 #include "empathy-client-factory.h"
-#include "empathy-request-util.h"
+
+#include <telepathy-glib/telepathy-glib-dbus.h>
 
 #include "empathy-call-factory.h"
 #include "empathy-call-handler.h"
+#include "empathy-request-util.h"
 
 #define DEBUG_FLAG EMPATHY_DEBUG_VOIP
 #include "empathy-debug.h"
@@ -133,7 +134,7 @@ empathy_call_factory_class_init (EmpathyCallFactoryClass *klass)
       NULL, NULL,
       g_cclosure_marshal_generic,
       G_TYPE_NONE,
-      2, EMPATHY_TYPE_CALL_HANDLER, G_TYPE_BOOLEAN);
+      2, EMPATHY_TYPE_CALL_HANDLER, G_TYPE_UINT64);
 
   signals[INCOMING_CALL] =
     g_signal_new ("incoming-call",
@@ -162,7 +163,7 @@ empathy_call_factory_initialise (void)
   self = EMPATHY_CALL_FACTORY (g_object_new (EMPATHY_TYPE_CALL_FACTORY,
       "account-manager", am,
       "factory", factory,
-      "name", EMPATHY_CALL_BUS_NAME_SUFFIX,
+      "name", EMPATHY_CALL_TP_BUS_NAME_SUFFIX,
       NULL));
 
   g_object_unref (am);
@@ -216,7 +217,7 @@ handle_channels (TpBaseClient *client,
       handler = empathy_call_handler_new_for_channel (call, contact);
 
       g_signal_emit (self, signals[NEW_CALL_HANDLER], 0,
-          handler, FALSE);
+          handler, user_action_time);
 
       g_object_unref (handler);
       g_object_unref (contact);