mirror of
https://github.com/brl/mutter.git
synced 2025-01-25 19:08:56 +00:00
configure: Require Clutter 1.9.10
We depend on API introduced in Clutter 1.9.10. Additionally, remove a compatibility fallback that isn't needed anymore.
This commit is contained in:
parent
c844bab232
commit
0dab6df25a
@ -178,7 +178,7 @@ else
|
|||||||
AC_MSG_ERROR([no. Mutter requires the Xcomposite extension to build.])
|
AC_MSG_ERROR([no. Mutter requires the Xcomposite extension to build.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CLUTTER_VERSION=1.7.5
|
CLUTTER_VERSION=1.9.10
|
||||||
CLUTTER_PACKAGE=clutter-1.0
|
CLUTTER_PACKAGE=clutter-1.0
|
||||||
AC_SUBST(CLUTTER_PACKAGE)
|
AC_SUBST(CLUTTER_PACKAGE)
|
||||||
if $PKG_CONFIG --atleast-version $CLUTTER_VERSION $CLUTTER_PACKAGE ; then
|
if $PKG_CONFIG --atleast-version $CLUTTER_VERSION $CLUTTER_PACKAGE ; then
|
||||||
|
@ -101,25 +101,6 @@ actor_is_untransformed (ClutterActor *actor,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CLUTTER_CHECK_VERSION(1, 9, 0)
|
|
||||||
#define has_effects clutter_actor_has_effects
|
|
||||||
#else
|
|
||||||
|
|
||||||
static gboolean
|
|
||||||
has_effects(ClutterActor *actor)
|
|
||||||
{
|
|
||||||
GList *list;
|
|
||||||
gboolean ret;
|
|
||||||
|
|
||||||
list = clutter_actor_get_effects (actor);
|
|
||||||
ret = list != NULL;
|
|
||||||
g_list_free (list);
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_window_group_paint (ClutterActor *actor)
|
meta_window_group_paint (ClutterActor *actor)
|
||||||
{
|
{
|
||||||
@ -180,7 +161,7 @@ meta_window_group_paint (ClutterActor *actor)
|
|||||||
* as well for the same reason, but omitted for simplicity in the
|
* as well for the same reason, but omitted for simplicity in the
|
||||||
* hopes that no-one will do that.
|
* hopes that no-one will do that.
|
||||||
*/
|
*/
|
||||||
if (has_effects (l->data))
|
if (clutter_actor_has_effects (l->data))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (META_IS_WINDOW_ACTOR (l->data))
|
if (META_IS_WINDOW_ACTOR (l->data))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user