Re: [Geany-Devel] [PATCH geany-plugins 1/5] GeanyLaTeX: Fix GTK+3 support

2013-06-22 Thread Frank Lanitz
On Sat, 22 Jun 2013 20:34:07 +1000
Lex Trotman  wrote:

> 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.

Well...it's also anothzer question: 
Shall we maybe increase dependency to 2.24 at all. Unfortunately don't
have an opinion about it yet.

Cheers, 
Frank


pgpjnPoggeH8i.pgp
Description: PGP signature
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] [PATCH geany-plugins 1/5] GeanyLaTeX: Fix GTK+3 support

2013-06-22 Thread Lex Trotman
On 22 June 2013 20:14, Dimitar Zhekov  wrote:

> On Fri, 21 Jun 2013 20:49:38 +1000
> Lex Trotman  wrote:
>
> > On 21 June 2013 02:35, Frank Lanitz  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
>
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] [PATCH geany-plugins 1/5] GeanyLaTeX: Fix GTK+3 support

2013-06-21 Thread Lex Trotman
On 21 June 2013 02:35, Frank Lanitz  wrote:

> Hi,
>
> 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?

Cheers
Lex



>
> Cheers,
> Frank
> ___
> Devel mailing list
> Devel@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
>
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel