On 22 June 2013 20:14, Dimitar Zhekov dimitar.zhekov@gmail.com wrote:
On Fri, 21 Jun 2013 20:49:38 +1000 Lex Trotman elextr@gmail.com wrote:
On 21 June 2013 02:35, Frank Lanitz frank@frank.uvena.de wrote:
this will increase the dependencies of Gtk at least to 2.24. Not sure it's already time to do this step.
Doesn't importing geany/src/gtkcompat.h via plugindata.h define macros
that
map the gtk3 function names back to the equivalent in earlier versions so the same code works for gtk2/3?
It does, but for that to work, you have to use the latest (after 1.23) Geany to build the plugin.
Yes, but you need that for gtk3 anyway, but the point is that the plugin doesn't need gtk2.24, if should work with older gtk2 versions.
Some time ago, I sent to ML an alternate gtkcompat that maps the gtk+ functions from lower to higher, but there was no interest.
Putting words in someone's mouth, I guess it was to look forward to gtk3 not backward to gtk2, but you are right, a plugin that decides to support gtk3 will no longer supports Geany < 1.24 unless it includes a local copy of gtkcompat.h, and well, thats messy, error prone and nasty.
Cheers Lex
-- E-gards: Jimmy _______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel