My bad, it only works with clutter git master. For clutter-1.8 you have to add the initial surface size to the constructor:
clock = CairoClock(width=300, height=300,
surface_width=300, surface_height=300,
auto_resize=True)
So long
:wq buz
On Mon, Nov 28, 2011 at 10:11:28PM +0100, Dirk Meyer wrote:
> Hi,
>
> On 11/28/2011 08:35 PM, Bastian Winkler wrote:
> > Hi Dischi,
> >
> > here's the ported cairo-clock example:
> > http://paste.debian.net/147341/
>
> That does not work for me:
> Clutter:ERROR:./clutter-cairo-texture.c:333:clutter_cairo_texture_emit_draw:
> assertion failed: (self->priv->cr_surface != NULL)
>
> Regards,
>
> Dirk
>
> _______________________________________________
> clutter-app-devel-list mailing list
> [email protected]
> http://lists.clutter-project.org/listinfo/clutter-app-devel-list
--
GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0 FD53 8C35 FD2E 6908 7B82
signature.asc
Description: Digital signature
_______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
