API: Implement tabpage_is_valid

This commit is contained in:
Thiago de Arruda 2014-05-11 11:14:58 -03:00
parent 14f2a3d533
commit a6baf32a2c

View File

@ -66,6 +66,7 @@ Window tabpage_get_window(Tabpage tabpage, Error *err)
bool tabpage_is_valid(Tabpage tabpage)
{
abort();
Error stub = {.set = false};
return find_tab(tabpage, &stub) != NULL;
}