Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 677056
Collapse All | Expand All

(-)a/configure.ac.ORIG (-2 / +2 lines)
Lines 12-23 Link Here
12
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
12
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
13
AC_CONFIG_HEADERS([config.h])
13
AC_CONFIG_HEADERS([config.h])
14
14
15
SPELLER_LIB=-lenchant
15
SPELLER_LIB=-lenchant-2
16
      
16
      
17
AC_SUBST(SPELLER_LIB)
17
AC_SUBST(SPELLER_LIB)
18
GTKSPELL_PACKAGES=gtk+-2.0
18
GTKSPELL_PACKAGES=gtk+-2.0
19
AC_SUBST(GTKSPELL_PACKAGES)
19
AC_SUBST(GTKSPELL_PACKAGES)
20
PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant >= 0.4.0 )
20
PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant-2 >= 2.2.0 )
21
AC_SUBST(GTKSPELL_CFLAGS)
21
AC_SUBST(GTKSPELL_CFLAGS)
22
AC_SUBST(GTKSPELL_LIBS)
22
AC_SUBST(GTKSPELL_LIBS)
23
23
(-)a/gtkspell/gtkspell.c.ORIG (-1 / +1 lines)
Lines 277-283 Link Here
277
	get_word_extents_from_mark(spell->buffer, &start, &end, spell->mark_click);
277
	get_word_extents_from_mark(spell->buffer, &start, &end, spell->mark_click);
278
	word = gtk_text_buffer_get_text(spell->buffer, &start, &end, FALSE);
278
	word = gtk_text_buffer_get_text(spell->buffer, &start, &end, FALSE);
279
	
279
	
280
	enchant_dict_add_to_pwl( spell->speller, word, strlen(word));
280
	enchant_dict_add( spell->speller, word, strlen(word));
281
281
282
	gtkspell_recheck_all(spell);
282
	gtkspell_recheck_all(spell);
283
283

Return to bug 677056