25 lines
663 B
Diff
25 lines
663 B
Diff
Source: Arch Linux
|
|
Upstream: Unknown
|
|
Reason: Fixes compilation with enchant-2
|
|
|
|
--- src/ogmrip-spell-dialog.c
|
|
+++ src/ogmrip-spell-dialog.c
|
|
@@ -315,14 +315,14 @@
|
|
enchant_dict_add_to_session (dialog->priv->dict, word, len);
|
|
break;
|
|
case OGMRIP_SPELL_RESPONSE_ADD_WORD:
|
|
- enchant_dict_add_to_personal (dialog->priv->dict, word, len);
|
|
+ enchant_dict_add (dialog->priv->dict, word, len);
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
|
|
if (suggs && n_suggs)
|
|
- enchant_dict_free_suggestions (dialog->priv->dict, suggs);
|
|
+ enchant_dict_free_string_list (dialog->priv->dict, suggs);
|
|
}
|
|
|
|
return status;
|
|
|