Changeset 142172 in webkit


Ignore:
Timestamp:
Feb 7, 2013 1:37:09 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK][AC] Clutter required version up to 1.12
https://bugs.webkit.org/show_bug.cgi?id=109037

Patch by ChangSeok Oh <ChangSeok Oh> 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):

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r142158 r142172  
     12013-02-07  ChangSeok Oh  <shivamidow@gmail.com>
     2
     3        [GTK][AC] Clutter required version up to 1.12
     4        https://bugs.webkit.org/show_bug.cgi?id=109037
     5
     6        Reviewed by Martin Robinson.
     7
     8        The clutter requried version is changed to 1.12.
     9
     10        * configure.ac:
     11
    1122013-02-07  Zan Dobersek  <zdobersek@igalia.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r142171 r142172  
     12013-02-07  ChangSeok Oh  <shivamidow@gmail.com>
     2
     3        [GTK][AC] Clutter required version up to 1.12
     4        https://bugs.webkit.org/show_bug.cgi?id=109037
     5
     6        Reviewed by Martin Robinson.
     7
     8        Replace deprecated clutter apis with new ones.
     9
     10        No new tests, since this patch is minor refactoring.
     11
     12        * platform/graphics/clutter/GraphicsLayerActor.cpp:
     13        (graphicsLayerActorSetAnchorPoint):
     14        * platform/graphics/clutter/GraphicsLayerClutter.cpp:
     15        (WebCore::idleDestroy):
     16        (WebCore::GraphicsLayerClutter::updateSublayerList):
     17
    1182013-02-07  Benjamin Poulain  <bpoulain@apple.com>
    219
  • trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp

    r142094 r142172  
    428428
    429429    ClutterActor* actor = CLUTTER_ACTOR(layer);
    430 
    431     float width, height;
    432     clutter_actor_get_size(actor, &width, &height);
    433     clutter_actor_set_anchor_point(actor, width * priv->anchorX, height * priv->anchorY);
     430    clutter_actor_set_pivot_point(actor, x, y);
     431    clutter_actor_set_pivot_point_z(actor, z);
    434432}
    435433
  • trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp

    r142094 r142172  
    125125
    126126    if (parent)
    127         clutter_container_remove_actor(CLUTTER_CONTAINER(parent), actor.get());
     127        clutter_actor_remove_child(parent, actor.get());
    128128
    129129    // FIXME: we should assert that the actor's ref count is 1 here, but some
     
    532532            ClutterActor* parentActor = clutter_actor_get_parent(layerActor);
    533533            if (parentActor)
    534                 clutter_container_remove_actor(CLUTTER_CONTAINER(parentActor), layerActor);
     534                clutter_actor_remove_child(parentActor, layerActor);
    535535        }
    536536    }
  • trunk/configure.ac

    r142158 r142172  
    344344SQLITE_REQUIRED_VERSION=3.0
    345345ENCHANT_REQUIRED_VERSION=0.22
    346 CLUTTER_REQUIRED_VERSION=1.8.2
     346CLUTTER_REQUIRED_VERSION=1.12
    347347CLUTTER_GTK_REQUIRED_VERSION=1.0.2
    348348ATSPI2_REQUIRED_VERSION=2.2.1
Note: See TracChangeset for help on using the changeset viewer.