Directly set backend font options in clutter_set_font_flags
authorNeil Roberts <neil@linux.intel.com>
Tue, 27 Jan 2009 16:55:25 +0000 (16:55 +0000)
committerNeil Roberts <neil@linux.intel.com>
Tue, 27 Jan 2009 17:11:02 +0000 (17:11 +0000)
commit6b9da72ab053eb96bed20655d8894c614a3077f1
tree3f07cfd965804a252fcc93d2b2f2b5e1c3692ae6
parent89b0b00dd14cde4f2a7d6bfab5bbdc78bc21f315
Directly set backend font options in clutter_set_font_flags

Instead of having a separate set of font options that override the
backend options when clutter_set_font_flags is called, it now just
directly sets the backend font options. So now the font flags are just
a convenience wrapper around the backend font options.

This also makes the ClutterText labels automatically update when the
font flags are changed because they will respond to the 'font-changed'
signal from the backend.
clutter/clutter-main.c
clutter/clutter-private.h