GNOME Bugzilla – Bug 604047
Use accessor functions instead of direct access
Last modified: 2013-09-14 16:53:18 UTC
To be ready for GTK+3 should be able to build with -DGSEAL_ENABLE See http://live.gnome.org/GnomeGoals/UseGseal for more details
Created attachment 149307 [details] [review] Use accessor functions instead direct access The GTK+ required version of this patch is 2.18.0 I've used all the api available, still missing: GTK_WIDGET_MAPPED()
Would be better to wait for the missing one and do it in once. Do you have any idea when it'll be available?
Hello Milan, OK, I'll make a new patch when the accessor were available. The accessor should be present for GTK+ 2.20, take a look to the blocker bug to stay informed about the progress.
Created attachment 153361 [details] [review] Use accessor functions instead direct accessv2 Ok the new api just landed in GTK+ I've used #if GTK_CHECK_VERSION(2,19,5) for GTK_WIDGET_MAPPED() function, so you only needs to depend on GTK+ 2.18
Thanks for the patch! I'd like to get this in for 2.30. Patch builds fine with GTK+ 2.18 and Git HEAD, so committing. http://git.gnome.org/browse/evolution-data-server/commit/?id=fcd0295bdc9427e51b6db6f1d5ef4acb40e8384a BTW, I have Evolution about 95% done. Will upload that when we bump to GTK+ 2.20.