Issue a "Call terminated" event every time the call window is forcibly closed

This commit is contained in:
Pierre Pronchery 2010-05-20 17:50:24 +00:00
parent 06f305036a
commit 3ef321b2d1

View File

@ -893,6 +893,8 @@ void phone_show_call(Phone * phone, gboolean show, ...)
{
if(phone->ca_window != NULL)
gtk_widget_hide(phone->ca_window);
/* XXX not sure if it should always be triggered */
phone_event(phone, PHONE_EVENT_CALL_TERMINATED);
return;
}
va_start(ap, show);