[Geany-Devel] [PATCH geany-plugins 1/5] GeanyLaTeX: Fix GTK+3 support
elextr at xxxxx
Sat Jun 22 10:34:07 UTC 2013
On 22 June 2013 20:14, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> On Fri, 21 Jun 2013 20:49:38 +1000
> Lex Trotman <elextr at gmail.com> wrote:
> > On 21 June 2013 02:35, Frank Lanitz <frank at 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
> > 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.
> E-gards: Jimmy
> Devel mailing list
> Devel at lists.geany.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel