Added meta_window_get_role().

This commit is contained in:
Tomas Frydrych
2009-01-12 12:30:31 +00:00
parent 822e125492
commit ec0562550a
2 changed files with 11 additions and 0 deletions

View File

@ -8665,3 +8665,12 @@ meta_window_set_compositor_private (MetaWindow *window, void *priv)
window->compositor_private = priv;
}
const char *
meta_window_get_role (MetaWindow *window)
{
if (!window)
return NULL;
return window->role;
}