<p>In <a href="https://github.com/geany/geany-plugins/pull/342#discussion_r52831591">geanyvc/src/geanyvc.c</a>:</p>
<pre style='color:#555'>> @@ -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
</pre>
<p>might be better to add this compat higher in the file, e.g. near the gtkspell include?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/pull/342/files#r52831591">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ122s-TVEs0ziTlKRgsu-GeABq87ks5pj22BgaJpZM4HH9CJ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/342/files#r52831591"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>