2007-11-14 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Wed, 14 Nov 2007 11:32:24 +0000 (11:32 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Wed, 14 Nov 2007 11:32:24 +0000 (11:32 +0000)
commitb0e169d73c4ce0c0769a29da346457ae5f44795c
tree3a6258d56324f4812e959d6858802d055f8a3c06
parentbbf57ee461bd29f5ebda52b86730aaac1701587f
2007-11-14  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-scriptable.[ch]: Rename ::set_name and ::get_name
to ::set_id and ::get_id, to avoid potential confusion with the
ClutterActor:name property.

* clutter/clutter-script.h:
* clutter/clutter-script.c (clutter_script_construct_object): Use
clutter_scriptable_set_id().

(clutter_get_script_id): Add a public function to retrieve the ID
used in the UI definition files from an object.

* clutter/clutter-actor.c: Do not set the name of the actor with
the ID set in the UI definition files.

* tests/test-script.c: Test clutter_get_script_id().

* clutter.symbols: Update with the new symbols.
ChangeLog
clutter.symbols
clutter/clutter-actor.c
clutter/clutter-script.c
clutter/clutter-script.h
clutter/clutter-scriptable.c
clutter/clutter-scriptable.h
doc/reference/ChangeLog
doc/reference/clutter-sections.txt
tests/test-script.c