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 (GTK_WIDGET_CLASS (class), MyClass, foo);

The struct member foo is still expected to be in the private struct
associated with MyClass.

This change will be in the GTK+ 3.9.10 release next week, so plan
accordingly for your own unstable releases.


Matthias
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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 preliminary patch to the Vala developers, and it will be
updated (sorry, I am not a Vala developer :-)) and pushed once both
bugs have been closed.

I apologize for the inconvenience, but we really want this API to be
good and consistent before committing to it for the rest of the 3.x
API cycle.

ciao,
 Emmanuele.


On 26 July 2013 15:20, Matthias Clasen matthias.cla...@gmail.com wrote:
 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 (GTK_WIDGET_CLASS (class), MyClass, foo);

 The struct member foo is still expected to be in the private struct
 associated with MyClass.

 This change will be in the GTK+ 3.9.10 release next week, so plan
 accordingly for your own unstable releases.


 Matthias
 ___
 desktop-devel-list mailing list
 desktop-devel-l...@gnome.org
 https://mail.gnome.org/mailman/listinfo/desktop-devel-list



-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list