2007-10-27 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-script.[ch]: Slight API change in the
	clutter_script_get_objects() function: now it takes
	object name/object return location pairs and returns the
	number of objects found and returned.

	* tests/test-script.c: Exercise the clutter_script_get_objects()
	function.
This commit is contained in:
Emmanuele Bassi
2007-10-27 19:08:59 +00:00
parent ae7463cccf
commit 35132fb5de
4 changed files with 52 additions and 18 deletions

View File

@ -99,7 +99,7 @@ guint clutter_script_load_from_data (ClutterScript *script,
GError **error);
GObject * clutter_script_get_object (ClutterScript *script,
const gchar *name);
GList * clutter_script_get_objects (ClutterScript *script,
gint clutter_script_get_objects (ClutterScript *script,
const gchar *first_name,
...) G_GNUC_NULL_TERMINATED;
void clutter_script_unmerge_objects (ClutterScript *script,