[Github-comments] [geany-plugins] [GeanyVC] use compatible gtkspell on building for gtk3 (#342)
Colomban Wendling
notifications at xxxxx
Sat Feb 13 18:29:21 UTC 2016
> @@ -1528,7 +1528,12 @@ vccommit_activated(G_GNUC_UNUSED GtkMenuItem * menuitem, G_GNUC_UNUSED gpointer
> gint height;
>
> #ifdef USE_GTKSPELL
> - GtkSpell *speller = NULL;
> +#if !GTK_CHECK_VERSION (3, 0, 0)
> +//Since gtk3 will be default in future may be going this way would be better.
> + #define GtkSpellSpellChecker GtkSpell
> + #define gtk_spell_checker_set_language gtkspell_set_language
might be better to add this compat higher in the file, e.g. near the gtkspell include?
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/342/files#r52831591
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160213/e07266f4/attachment.html>
More information about the Github-comments
mailing list