Commit 3f28e230 authored by Guillaume Desmottes's avatar Guillaume Desmottes

empathy_call_factory_new_call_with_streams: remove callback arg

If you want to handle the channel yourself then use TpAccountChannelRequest.
parent 82ffd1da
......@@ -247,7 +247,7 @@ empathy_contact_audio_call_menu_item_activated (GtkMenuItem *item,
{
empathy_call_factory_new_call_with_streams (contact, TRUE, FALSE,
gtk_get_current_event_time (), NULL, NULL);
gtk_get_current_event_time (), NULL);
}
GtkWidget *
......@@ -277,7 +277,7 @@ empathy_contact_video_call_menu_item_activated (GtkMenuItem *item,
EmpathyContact *contact)
{
empathy_call_factory_new_call_with_streams (contact, TRUE, TRUE,
gtk_get_current_event_time (), NULL, NULL);
gtk_get_current_event_time (), NULL);
}
GtkWidget *
......
......@@ -284,7 +284,7 @@ empathy_individual_audio_call_menu_item_activated (GtkMenuItem *item,
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
empathy_call_factory_new_call_with_streams (contact, TRUE, FALSE,
gtk_get_current_event_time (), NULL, NULL);
gtk_get_current_event_time (), NULL);
g_object_unref (contact);
}
......@@ -327,7 +327,7 @@ empathy_individual_video_call_menu_item_activated (GtkMenuItem *item,
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
empathy_call_factory_new_call_with_streams (contact, TRUE, TRUE,
gtk_get_current_event_time (), NULL, NULL);
gtk_get_current_event_time (), NULL);
g_object_unref (contact);
}
......
......@@ -220,7 +220,6 @@ empathy_call_factory_new_call_with_streams (EmpathyContact *contact,
gboolean initial_audio,
gboolean initial_video,
gint64 timestamp,
EmpathyDispatcherRequestCb callback,
gpointer user_data)
{
EmpathyDispatcher *dispatcher;
......@@ -232,7 +231,7 @@ empathy_call_factory_new_call_with_streams (EmpathyContact *contact,
dispatcher = empathy_dispatcher_dup_singleton ();
empathy_dispatcher_create_channel (dispatcher,
empathy_contact_get_connection (contact), request, timestamp, callback,
empathy_contact_get_connection (contact), request, timestamp, NULL,
user_data);
g_object_unref (dispatcher);
......
......@@ -69,7 +69,6 @@ void empathy_call_factory_new_call_with_streams (EmpathyContact *contact,
gboolean initial_audio,
gboolean initial_video,
gint64 timestamp,
EmpathyDispatcherRequestCb callback,
gpointer user_data);
gboolean empathy_call_factory_register (EmpathyCallFactory *self,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment