[Sugar-devel] [PATCH Terminal 1/2] GTK3 Port start

Daniel Drake dsd at laptop.org
Tue May 15 11:11:13 EDT 2012


On Tue, May 15, 2012 at 9:02 AM, Manuel Kaufmann <humitos at gmail.com> wrote:
> and now it's working on my Fedora 16. Taking in consideration the
> Porting guide[1] we should not use the ".new" form and both of them
> should work.
>
> I don't know what is happening here. Any idea?
>
> [1] http://wiki.sugarlabs.org/go/Features/GTK3/Porting#Constructor_considerations

Take a look again at the porting guide. The constructor requires
keyword arguments which you are not passing in the non-.new case.

Looks like the collection of wrapped classes in gi/overrides/Gtk.py is
growing so that keyword arguments are not necessary. VScrollbar has
been recently added by the looks of things. Might be worth consulting
upstream on the current strategy here and updating our porting guide
accordingly.

Daniel


More information about the Sugar-devel mailing list