diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-07-28 13:43:52 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-07-28 13:46:11 +0100 |
commit | a5d6b233086faa03512975763b286c7ea44b7fec (patch) | |
tree | 7541d7e27dc422bb1fa6a76cbaa269aa7f361e70 /doc | |
parent | 57baa2f0bcd37269f029351736681396739263bd (diff) | |
download | clutter-a5d6b233086faa03512975763b286c7ea44b7fec.tar.gz |
[units] Add binding-friendly initializers
We should follow the convention for boxed types initializers of:
<type_name>_from_<another_type> (boxed, value)
For ClutterUnits as well; so:
clutter_units_pixels -> clutter_units_from_pixels
clutter_units_em -> clutter_units_from_em
...
We should still keep the short-hand version as a macro, though.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/clutter/clutter-sections.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/reference/clutter/clutter-sections.txt b/doc/reference/clutter/clutter-sections.txt index 7f2649e4c..a40eca6de 100644 --- a/doc/reference/clutter/clutter-sections.txt +++ b/doc/reference/clutter/clutter-sections.txt @@ -29,11 +29,11 @@ clutter_media_get_type <TITLE>Unit conversion</TITLE> ClutterUnitType ClutterUnits -clutter_units_mm -clutter_units_pt -clutter_units_em -clutter_units_em_for_font -clutter_units_pixels +clutter_units_from_mm +clutter_units_from_pt +clutter_units_from_em +clutter_units_from_em_for_font +clutter_units_from_pixels clutter_units_to_pixels clutter_units_copy clutter_units_free @@ -56,6 +56,11 @@ CLUTTER_PARAM_SPEC_UNITS CLUTTER_IS_PARAM_SPEC_UNITS clutter_units_get_type clutter_param_units_get_type +clutter_units_em +clutter_units_em_for_font +clutter_units_mm +clutter_units_pixels +clutter_units_pt </SECTION> <SECTION> |