Store the PangoContext inside the main context
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 23 Dec 2008 14:27:41 +0000 (14:27 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 23 Dec 2008 14:27:41 +0000 (14:27 +0000)
commit213d8f0e4e165554ad2c172c2b18cb29dfce9b76
tree6204f0e10feb257f984bde34ef4a86ddd2c27576
parent61d47ee3016c487312ef1e731af03960c9d42b42
Store the PangoContext inside the main context

The PangoContext should be stored once, and inside the main
Clutter context. Each actor for which clutter_actor_get_pango_context()
has been called will hold a reference on the Pango context as well.

This makes it possible to update the text rendering for Clutter
by using only public API.
clutter/clutter-actor.c
clutter/clutter-main.c
clutter/clutter-private.h