GNOME Bugzilla – Bug 629177
Do not use deprecated gtk_widget_get_child_requisition()
Last modified: 2010-09-13 19:27:28 UTC
Use gtk_size_request_get_size() instead
Created attachment 169863 [details] [review] Do not use deprecated gtk_widget_get_child_requisition()
Review of attachment 169863 [details] [review]: Wow huge patch, by looking at every file in the patch it looks good to me, gtk_widget_get_child_requisition() is calling gtk_size_request_get_size() for its return value anyway so there's no reason it should break anything (ofcourse doing a regular check through gtk-demo is always a good idea). Thanks for all the cleanup Javier !
Yeah, big patch touching size allocation is always a bit scary. How well has this been tested ?
I did some testing but, as Tristan said, there's no reason it should break anything as I've simply called the new function instead the deprecated API See http://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n3899
I gave it some testing too, and didn't notice any problems. So, I guess it is fine.
Comment on attachment 169863 [details] [review] Do not use deprecated gtk_widget_get_child_requisition() commit 9e81022bf6b7a5c25584b9eeea360cdf38cd6949