https://bugs.webkit.org/show_bug.cgi?id=109037
Patch by ChangSeok Oh <shivamidow@gmail.com> on 2013-02-07
Reviewed by Martin Robinson.
.:
The clutter requried version is changed to 1.12.
* configure.ac:
Source/WebCore:
Replace deprecated clutter apis with new ones.
No new tests, since this patch is minor refactoring.
* platform/graphics/clutter/GraphicsLayerActor.cpp:
(graphicsLayerActorSetAnchorPoint):
* platform/graphics/clutter/GraphicsLayerClutter.cpp:
(WebCore::idleDestroy):
(WebCore::GraphicsLayerClutter::updateSublayerList):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142172
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-02-07 ChangSeok Oh <shivamidow@gmail.com>
+
+ [GTK][AC] Clutter required version up to 1.12
+ https://bugs.webkit.org/show_bug.cgi?id=109037
+
+ Reviewed by Martin Robinson.
+
+ The clutter requried version is changed to 1.12.
+
+ * configure.ac:
+
2013-02-07 Zan Dobersek <zdobersek@igalia.com>
[Autotools] Remove uses of Automake FARSTREAM_(CFLAGS|LIBS) variables, USE_FARSTREAM conditional
+2013-02-07 ChangSeok Oh <shivamidow@gmail.com>
+
+ [GTK][AC] Clutter required version up to 1.12
+ https://bugs.webkit.org/show_bug.cgi?id=109037
+
+ Reviewed by Martin Robinson.
+
+ Replace deprecated clutter apis with new ones.
+
+ No new tests, since this patch is minor refactoring.
+
+ * platform/graphics/clutter/GraphicsLayerActor.cpp:
+ (graphicsLayerActorSetAnchorPoint):
+ * platform/graphics/clutter/GraphicsLayerClutter.cpp:
+ (WebCore::idleDestroy):
+ (WebCore::GraphicsLayerClutter::updateSublayerList):
+
2013-02-07 Benjamin Poulain <bpoulain@apple.com>
Move pauseAnimation/pauseTransition from TestRunner to Internals
priv->anchorZ = z;
ClutterActor* actor = CLUTTER_ACTOR(layer);
-
- float width, height;
- clutter_actor_get_size(actor, &width, &height);
- clutter_actor_set_anchor_point(actor, width * priv->anchorX, height * priv->anchorY);
+ clutter_actor_set_pivot_point(actor, x, y);
+ clutter_actor_set_pivot_point_z(actor, z);
}
void graphicsLayerActorGetAnchorPoint(GraphicsLayerActor* layer, float* x, float* y, float* z)
graphicsLayerActorRemoveAll(GRAPHICS_LAYER_ACTOR(actor.get()));
if (parent)
- clutter_container_remove_actor(CLUTTER_CONTAINER(parent), actor.get());
+ clutter_actor_remove_child(parent, actor.get());
// FIXME: we should assert that the actor's ref count is 1 here, but some
// of them are getting here with 2!
ClutterActor* layerActor = CLUTTER_ACTOR(newSublayers[i].get());
ClutterActor* parentActor = clutter_actor_get_parent(layerActor);
if (parentActor)
- clutter_container_remove_actor(CLUTTER_CONTAINER(parentActor), layerActor);
+ clutter_actor_remove_child(parentActor, layerActor);
}
}
LIBXSLT_REQUIRED_VERSION=1.1.7
SQLITE_REQUIRED_VERSION=3.0
ENCHANT_REQUIRED_VERSION=0.22
-CLUTTER_REQUIRED_VERSION=1.8.2
+CLUTTER_REQUIRED_VERSION=1.12
CLUTTER_GTK_REQUIRED_VERSION=1.0.2
ATSPI2_REQUIRED_VERSION=2.2.1