mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix bug when declining a call.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@175 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
767dc47302
commit
6b6d345f5a
2 changed files with 6 additions and 2 deletions
|
|
@ -982,7 +982,11 @@ void linphone_core_iterate(LinphoneCore *lc)
|
|||
while((ev=eXosip_event_wait(0,0))!=NULL){
|
||||
linphone_core_process_event(lc,ev);
|
||||
}
|
||||
if (lc->automatic_action==0) eXosip_automatic_action();
|
||||
if (lc->automatic_action==0) {
|
||||
eXosip_lock();
|
||||
eXosip_automatic_action();
|
||||
eXosip_unlock();
|
||||
}
|
||||
}
|
||||
if (lc->call!=NULL){
|
||||
LinphoneCall *call=lc->call;
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@ void linphone_gtk_terminate_call(GtkWidget *button){
|
|||
|
||||
void linphone_gtk_decline_call(GtkWidget *button){
|
||||
linphone_core_terminate_call(linphone_gtk_get_core(),NULL);
|
||||
linphone_gtk_call_terminated(gtk_widget_get_toplevel(button));
|
||||
linphone_gtk_call_terminated(linphone_gtk_get_main_window());
|
||||
gtk_widget_destroy(gtk_widget_get_toplevel(button));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue