2008-05-09 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-script-private.h: Add a flag for the default stage. * clutter/clutter-script.c: (json_object_end): If the "type" member is "ClutterStage" and we have a "is-default" member set to true then this is the default stage. (clutter_script_construct_object): Special case the default stage instead of each ClutterStage. (object_info_free): Ditto as above. * tests/test-script.json: Test the creation of a non-default stage and the ::destroy handler to quit.
This commit is contained in:
@ -50,9 +50,10 @@ typedef struct {
|
||||
|
||||
guint merge_id;
|
||||
|
||||
guint is_toplevel : 1;
|
||||
guint has_unresolved : 1;
|
||||
guint is_unmerged : 1;
|
||||
guint is_stage_default : 1;
|
||||
guint is_toplevel : 1;
|
||||
guint has_unresolved : 1;
|
||||
guint is_unmerged : 1;
|
||||
} ObjectInfo;
|
||||
|
||||
void object_info_free (gpointer data);
|
||||
|
Reference in New Issue
Block a user