Emmanuele Bassi 2d99f77e3b cairo-texture: Disable :sync-size
The :sync-size property of ClutterTexture should be set to FALSE by
default by ClutterCairoTexture. The preferred size of the
ClutterCairoTexture is already the size of the internal Cairo surface,
and we override the preferred width/height getters to that effect.

The :sync-size property is also responsible of changing the size of
the Texture actor when changing the texture handle - but since we
encourage that to happen during the CairoTexture allocation, we get a
queue_relayout() invocation (and a warning) when we change the size
of the Cairo image surface.

Since GObject doesn't make it easy to override the default value of the
:sync-size property in sub-classes, we should simply call the setter
function during the ClutterCairoTexture instance initialization.

We should also change one of the interactive tests using a CairoTexture
to rebuild the contents of the actor in response to an allocation.
2010-06-16 13:58:41 +01:00
..
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-03 14:10:55 +01:00
2010-03-02 11:12:32 +00:00
2010-06-11 16:09:36 +01:00
2010-05-25 11:13:03 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-09 11:55:19 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-10 18:40:29 +01:00