[Mageia-dev] Gtk+3.0 bindings API break, what to do?

Thierry Vignaud thierry.vignaud at gmail.com
Tue Mar 6 21:36:30 CET 2012


On 6 March 2012 21:30, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>> As per https://bugzilla.gnome.org/show_bug.cgi?id=657385
>> gtk_menu_popup_for_device() has been renamed to gtk_menu_popup() in
>> introspection, causing at least Menu.popup() in python-gi to break.
>>
>> Ubuntu has reverted it:
>> https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/923171
>>
>> Attached are alternative one-liner patches to either revert the API
>> break in Gtk+3.0 (dont_rename_annotation.patch, from Ubuntu), or to
>> adapt python-gobject3 to the API change
>> (python-gi-adapt-for-gnome657385.patch, written by me).
>
> My gut feeling would be that your patch is the better and more upstream
> compatible direction here.
>
> I suspect if the Ubuntu approach is used, we'll also have to fix Vala
> stuff in the future too (which will very likely follow the upstream
> direction). Don't know what else would use the introspection stuff.

Other languages binding


More information about the Mageia-dev mailing list