api change in GTK+ master

2013-07-26 Thread Matthias Clasen
I've just committed a change to the gtk_widget_class_bind_child convenience APIs. These are new in 3.9, so not stable API yet. If you've been using gtk_widget_class_bind_child (GTK_WIDGET_CLASS (class), MyClassPrivate, foo); you need to change it to gtk_widget_class_bind_child

Re: api change in GTK+ master

2013-07-26 Thread Emmanuele Bassi
hi all; I wanted to point out that there's another API renaming/change scheduled for this API: http://bugzilla.gnome.org/show_bug.cgi?id=700898 for Vala users: both changes should not affect the code you write, only the code that is generated by the Vala compiler itself; I already sent a

Re: api change in GTK+ master

2013-07-26 Thread Milan Crha
On Fri, 2013-07-26 at 10:20 -0400, Matthias Clasen wrote: If you've been using gtk_widget_class_bind_child (GTK_WIDGET_CLASS (class), MyClassPrivate, foo); you need to change it to gtk_widget_class_bind_child (GTK_WIDGET_CLASS (class), MyClass, foo); The struct member foo is still

Re: api change in GTK+ master

2013-07-26 Thread Matthias Clasen
On Fri, Jul 26, 2013 at 12:44 PM, Milan Crha mc...@redhat.com wrote: Hi, I do not know this API, neither use it (yet?), but the first version seems more correct to me, because with the second you define some hidden constraint where the 'priv' structure comes from. If nothing else,