This function is backwards i.e it is supposed to check for metas that
are *not* internal, hence the name.
https://bugzilla.gnome.org/show_bug.cgi?id=660623
* _clutter_meta_group_has_metas_no_internal:
* @group: a #ClutterMetaGroup
*
- * Returns whether the group has any metas that have an internal priority.
+ * Returns whether the group has any metas that don't have an internal priority.
*
- * Return value: %TRUE if metas with internal priority exist
+ * Return value: %TRUE if metas without internal priority exist
* %FALSE otherwise
*/
gboolean
GList *l;
for (l = group->meta; l; l = l->next)
- if (_clutter_actor_meta_is_internal (l->data))
+ if (!_clutter_actor_meta_is_internal (l->data))
return TRUE;
return FALSE;