mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2008-06-13 Emmanuele Bassi <ebassi@openedhand.com>
Bug #960 - PangoContext creation code should not be duplicated * clutter/clutter-private.h: * clutter/clutter-main.c: (_clutter_context_create_pango_context): Abstract the creation of the PangoContext inside its own function, to avoid code and bugs duplication. (Tommi Komulainen) * clutter/clutter-entry.c (clutter_entry_init): Use the newly added PangoContext creation function. * clutter/clutter-label.c (clutter_label_init): Ditto as above.
This commit is contained in:
@ -114,6 +114,7 @@ or enter/leave events */
|
||||
|
||||
#define CLUTTER_CONTEXT() (clutter_context_get_default ())
|
||||
ClutterMainContext *clutter_context_get_default (void);
|
||||
PangoContext *_clutter_context_create_pango_context (ClutterMainContext *self);
|
||||
|
||||
#define CLUTTER_PRIVATE_FLAGS(a) (((ClutterActor *) (a))->private_flags)
|
||||
#define CLUTTER_SET_PRIVATE_FLAGS(a,f) (CLUTTER_PRIVATE_FLAGS (a) |= (f))
|
||||
|
Reference in New Issue
Block a user