hi

    When i try to un-merge a merge_id returned from
clutter_script_load_from_file
i get following asserts

(./a.out:22293): Clutter-CRITICAL **: clutter_actor_destroy: assertion
`CLUTTER_IS_ACTOR (self)' failed

(./a.out:22293): Clutter-CRITICAL **: clutter_actor_destroy: assertion
`CLUTTER_IS_ACTOR (self)' failed


I am just trying to unmerge an id as soon as i get it.


attached test case produces the result

file : test.c and a json file temp.json



thanks and regards
varun shrivastava

Attachment: temp.json
Description: Binary data

#include <stdio.h>
#include <clutter/clutter.h>
#include <glib.h>


int main(int argc, char **argv)
{
	clutter_init(&argc, &argv);
	ClutterScript *script = clutter_script_new();
	guint merge_id = 0;
	GError *error = NULL;
	if((merge_id = clutter_script_load_from_file(script, "temp.json", &error)) != 0)
		clutter_script_unmerge_objects(script, merge_id);
	return 0;
}
	

Reply via email to