Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
f9024517
Commit
f9024517
authored
May 10, 2017
by
Simon Morlat
Browse files
fix bugs with audio conference management
parent
bb29521a
Changes
2
Hide whitespace changes
Inline
Side-by-side
gtk/incall_view.c
View file @
f9024517
...
...
@@ -171,7 +171,6 @@ void linphone_gtk_enable_transfer_button(LinphoneCore *lc, gboolean value){
static
void
conference_button_clicked
(
GtkWidget
*
button
,
gpointer
call_ref
){
gtk_widget_set_sensitive
(
button
,
FALSE
);
g_object_set_data
(
G_OBJECT
(
linphone_gtk_get_main_window
()),
"conf_frame"
,
NULL
);
linphone_core_add_all_to_conference
(
linphone_gtk_get_core
());
}
...
...
gtk/main.c
View file @
f9024517
...
...
@@ -829,12 +829,12 @@ static void linphone_gtk_update_call_buttons(LinphoneCall *call){
conf_frame
=
(
GtkWidget
*
)
g_object_get_data
(
G_OBJECT
(
mw
),
"conf_frame"
);
if
(
conf_frame
==
NULL
){
linphone_gtk_enable_transfer_button
(
lc
,
call_list_size
>
1
);
linphone_gtk_enable_conference_button
(
lc
,
call_list_size
>
1
);
}
else
{
linphone_gtk_enable_transfer_button
(
lc
,
FALSE
);
linphone_gtk_enable_conference_button
(
lc
,
FALSE
);
}
if
(
call
)
{
bool_t
enable_conference
=
call_list_size
>
1
&&
linphone_call_params_get_local_conference_mode
(
linphone_call_get_current_params
(
call
))
==
FALSE
;
linphone_gtk_enable_conference_button
(
lc
,
enable_conference
);
linphone_gtk_update_video_button
(
call
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment