On Thu, 2008-11-06 at 15:25 +0200, Michael Boccara wrote: > // another segment of code > // this would also copy the line_wrap flag > ClutterLabel* label2 = > CLUTTER_LABEL(g_object_duplicate(label));
Perhaps you could implement this g_object_duplicate function by getting all of the properties of an object with g_object_class_list_properties, then getting all of the values into an array of GParameters and then creating the object with g_object_newv ? Not sure how robust that would be though so you might be better off trying to think of a different way to approach the problem. Regards, - Neil -- To unsubscribe send a mail to [EMAIL PROTECTED]
