Establishing GTK3 port "rules" (and some q.s)
mbrush at codebrainz.ca
Sat Feb 21 02:24:49 CET 2015
On 15-02-20 04:13 PM, mike wrote:
> We've got a GTK3 port of some of exo in SpaceFM  (with compatibility
> back down to GTK 2.16, and I can probably handle porting the rest
> without too much issue if that's desired. It's pretty clean with not too
> many #ifdefs and a lot of the compatibility code to handle the different
> versions is centralized here . It's been working well for years.
>  https://github.com/BwackNinja/spacefm/tree/master/src/exo
>  https://github.com/BwackNinja/spacefm/blob/master/src/gtk2-compat.h
This is basically what I did with Mousepad too:
It's nice to have a shim because it allows to "revert" all the
stupid/pointless API breaks without having to re-write entire program
using worse and slower new APIs and widgets.
More information about the Xfce4-dev