Skip to content
Snippets Groups Projects
Commit c5e7b3d5 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2006] Add sflphone action sflphone_join_participant

instead of calling dbus_join_participant directly
parent 25e888c3
No related branches found
No related tags found
No related merge requests found
...@@ -841,6 +841,14 @@ sflphone_detach_participant() ...@@ -841,6 +841,14 @@ sflphone_detach_participant()
dbus_detach_participant(selectedCall); dbus_detach_participant(selectedCall);
} }
void
sflphone_join_participant(callable_obj_t* selected_call, callable_obj_t* dragged_call)
{
DEBUG("sflphone join participant from conference");
dbus_join_participant(selected_call, dragged_call);
}
void void
sflphone_rec_call() sflphone_rec_call()
{ {
......
...@@ -679,7 +679,7 @@ static void drag_end_cb(GtkWidget * widget, GdkDragContext * context, gpointer d ...@@ -679,7 +679,7 @@ static void drag_end_cb(GtkWidget * widget, GdkDragContext * context, gpointer d
g_print(" dragged path %s, call_id %s on previous_id %s\n", dragged_path, call_id, previous_id); g_print(" dragged path %s, call_id %s on previous_id %s\n", dragged_path, call_id, previous_id);
if(selected_call != NULL && dragged_call != NULL) if(selected_call != NULL && dragged_call != NULL)
dbus_join_participant(selected_call, dragged_call); sflphone_join_participant(selected_call, dragged_call);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment