Added meta_group_get_size() to allow for more efficient check of whether window is part of a larger group.

This commit is contained in:
Tomas Frydrych
2009-01-15 15:21:43 +00:00
parent fc6b78a20c
commit aad8eb1999
2 changed files with 12 additions and 0 deletions

View File

@@ -272,3 +272,13 @@ meta_group_property_notify (MetaGroup *group,
return TRUE;
}
int
meta_group_get_size (MetaGroup *group)
{
if (!group)
return 0;
return group->refcount;
}