GNOME Bugzilla – Bug 432228
[Python bindings] New-style constructors
Last modified: 2007-08-26 06:04:00 UTC
When building the Python bindings, there are several warnings about constructors. Warning: generating old-style constructor for:rb_entry_view_new Warning: generating old-style constructor for:rb_library_browser_new Warning: generating old-style constructor for:rb_song_info_new Warning: Constructor for RBSourceList needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for RBSourceListModel needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for RBEntryView needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for RBLibraryBrowser needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for RBSongInfo needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Also, there is a typo in the constructor for RBPropertyView.
Created attachment 86779 [details] [review] Update constructors to new style I've only tested EntryView and PropertyView directly, but I did check the rest matched their internal property names. Marked every property optional, for now.
These have now been fixed by other changes. I've fixed the remaining warnings (sourcelist and sourcelist-model just had miscapitalisations, URI dialog needed some reworking).