After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 162414 - include gtkspell3 in gtk+
include gtkspell3 in gtk+
Status: RESOLVED DUPLICATE of bug 383706
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal enhancement
: Medium feature
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-12-29 00:24 UTC by Kristof Vansant
Modified: 2008-03-13 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kristof Vansant 2004-12-29 00:24:49 UTC
I would like to see this widget included in gtk+ 
it uses enchant as backend http://www.abisource.com/enchant/

if enchant is not available. A program using gtkspell should just know that
spellcheck is not working but let the user just use the textview box.

code:
http://cvs.sourceforge.net/viewcvs.py/gtkspell/gtkspell3/gtkspell/
Comment 1 Matthias Clasen 2004-12-31 07:00:03 UTC
I'm not convinced that further complicating the text view widget by integrating
spell checking is a good idea. 
Comment 2 Kristof Vansant 2005-01-04 11:49:49 UTC
it is not my intention to have the gtkspell integrated in the text view widget
by default. More as an optional extension. gtkspell is already used in gaim,pan
for example. 
Comment 3 Nathan Fredrickson 2005-01-05 14:18:30 UTC
The text view widget is not complicated since gtkspell is a separate object that
attaches to a text view.  With the gtkspell2 API, the simplest form of using
gtkspell (ignoring error handling) is a one-liner:

view = gtk_text_view_new();
gtkspell_new_attach(GTK_TEXT_VIEW(view), NULL, NULL);
Comment 4 Owen Taylor 2005-01-05 16:20:21 UTC
I don't see any particular reason why GtkSpell should be distributed
as part of GTK+ (adding extra library dependencies, dependencies on
the configuration of dictionaries, etc.)
Comment 5 Olivier Andrieu 2005-01-07 19:14:03 UTC
The memory management of the GtkSpell object does not follow the usual GTK
conventions. For instance, gtkspell_detach() not only detachs the GtkSpell from
the TextView, it also frees the structure. That's a problem for language
bindings (GtkSpell should be based on GObject of course).
Comment 6 Kristof Vansant 2006-06-04 23:29:12 UTC
this seems to be doing the same as gtkspell
http://www.chipx86.com/wiki/Libsexy#SexySpellEntry

are there plans to include it?
Comment 7 Bastien Nocera 2008-03-13 15:37:53 UTC
Looks like a dupe of 383706. GtkSpell by itself isn't good enough for Gtk+ inclusion (as per the comments above), and other work is on-going to use Enchant directly for this.

*** This bug has been marked as a duplicate of 383706 ***