]> git.0d.be Git - empathy.git/blobdiff - src/empathy-call-factory.c
Updated Swedish translation
[empathy.git] / src / empathy-call-factory.c
index 972524533ea29da299408ce086691d93d6b19788..3b57761d94c04f7a4dcf34c502c7c8b162503048 100644 (file)
@@ -21,6 +21,8 @@
 #include "config.h"
 #include "empathy-client-factory.h"
 
+#include <telepathy-glib/telepathy-glib-dbus.h>
+
 #include "empathy-call-factory.h"
 #include "empathy-call-handler.h"
 #include "empathy-request-util.h"
@@ -132,7 +134,7 @@ empathy_call_factory_class_init (EmpathyCallFactoryClass *klass)
       NULL, NULL,
       g_cclosure_marshal_generic,
       G_TYPE_NONE,
-      1, EMPATHY_TYPE_CALL_HANDLER);
+      2, EMPATHY_TYPE_CALL_HANDLER, G_TYPE_UINT64);
 
   signals[INCOMING_CALL] =
     g_signal_new ("incoming-call",
@@ -161,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);
@@ -215,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);
+          handler, user_action_time);
 
       g_object_unref (handler);
       g_object_unref (contact);