]> git.0d.be Git - empathy.git/commitdiff
call-factory::new-call-handler: remove unused 'outgoing' arg
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 7 Aug 2013 14:33:59 +0000 (16:33 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 7 Aug 2013 14:48:03 +0000 (16:48 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=705618

src/empathy-call-factory.c
src/empathy-call.c

index 60700ac0f03edc39088d7bd1c3584b03e053ac51..972524533ea29da299408ce086691d93d6b19788 100644 (file)
@@ -132,7 +132,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);
+      1, EMPATHY_TYPE_CALL_HANDLER);
 
   signals[INCOMING_CALL] =
     g_signal_new ("incoming-call",
@@ -215,7 +215,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);
 
       g_object_unref (handler);
       g_object_unref (contact);
index 8a5549694793189c5f31287a50d41ae0b663a754..2d403b3cdd5a9c3b9fdef87c06b023ebbe8c7e52 100644 (file)
@@ -127,7 +127,6 @@ call_window_inhibit_cb (EmpathyCallWindow *window,
 static void
 new_call_handler_cb (EmpathyCallFactory *factory,
     EmpathyCallHandler *handler,
-    gboolean outgoing,
     gpointer user_data)
 {
   EmpathyCallWindow *window;