[Github-comments] [geany-plugins] [GeanyVC] use compatible gtkspell on building for gtk3 (#342)

Frank Lanitz notifications at xxxxx
Fri Feb 12 22:55:53 UTC 2016


I'm afraid build is failing here
```

geanyvc.c: In function 'vccommit_activated':
geanyvc.c:1536:2: error: unknown type name 'GtkSpellChecker'
  GtkSpellChecker *speller = NULL;
  ^
geanyvc.c:1598:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
         speller = gtkspell_new_attach(GTK_TEXT_VIEW(messageView), NULL, &spellcheck_error);
                 ^
geanyvc.c:1612:34: warning: passing argument 1 of 'gtkspell_set_language' from incompatible pointer type [-Wincompatible-pointer-types]
   gtk_spell_checker_set_language(speller, lang, &spellcheck_error);
                                  ^
In file included from geanyvc.c:41:0:
/usr/include/gtkspell-2.0/gtkspell/gtkspell.h:34:11: note: expected 'GtkSpell * {aka struct _GtkSpell *}' but argument is of type 'int *'
 gboolean  gtkspell_set_language(GtkSpell *spell,
           ^

```

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/342#issuecomment-183517896
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160212/8f92db84/attachment.html>


More information about the Github-comments mailing list