Issue a "Call terminated" event every time the call window is forcibly closed
This commit is contained in:
parent
06f305036a
commit
3ef321b2d1
@ -893,6 +893,8 @@ void phone_show_call(Phone * phone, gboolean show, ...)
|
|||||||
{
|
{
|
||||||
if(phone->ca_window != NULL)
|
if(phone->ca_window != NULL)
|
||||||
gtk_widget_hide(phone->ca_window);
|
gtk_widget_hide(phone->ca_window);
|
||||||
|
/* XXX not sure if it should always be triggered */
|
||||||
|
phone_event(phone, PHONE_EVENT_CALL_TERMINATED);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
va_start(ap, show);
|
va_start(ap, show);
|
||||||
|
Loading…
Reference in New Issue
Block a user