On Wed, Jan 31, 2007 at 10:02:26PM +0100, Tomasz Jankowski wrote: > I'm trying to install property into main interface, but when I run program > it always display me this warning: > > (lt-goofysender:10709): GLib-GObject-WARNING **: When installing property: > type `GoofyFileTransfer' already has a property named `transfer-status'
The interface base init function can be called multiple times (at least once every time a class implementing this interface is initialized), but it obviously has to install the property only once. Therefore it must remember it has been already called and do nothing in subseqent calls. See Interface Initialization in http://developer.gnome.org/doc/API/2.0/gobject/gtype-non-instantiable-classed.html There is even an example... Yeti -- Whatever. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list