Hi, >I have noticed that widgets in Stk are using different reference counting rules >than Gtk. So you have to explicitly define the variables as class fields, else >all widgets gets destroyed. Vala compiler always generate a g_object_unref() call just after widget creation. That's why objects are destroyed. This problem doesn't arise when using the plain C API. This is a known problem. It will be fixed, but I can't tell you when.
>Another thing i have noticed is that you use 'void*' as return value for many >methods and signals in your API, i think type and owning rules must be >enforced, so code gets simpler and you dont have to manually work with >pointers. The version number is 0.0.8. It means that the API will be breaked again and again before stabilization. Of course you're right. Defining a common scheme and rules as well as a reference counting policy is an objective on the roadmap to 0.1.0. Cheers, Samuel _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list