~bcurtiswx/ubuntu/precise/empathy/3.4.2.1-0ubuntu1

« back to all changes in this revision

Viewing changes to libempathy-gtk/empathy-spell.c

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2009-11-16 23:40:52 UTC
  • mfrom: (1.1.39 upstream)
  • mto: (6.3.7 experimental)
  • mto: This revision was merged to the branch mainline in revision 80.
  • Revision ID: james.westby@ubuntu.com-20091116234052-7hhwrpeln4mwdyw7
Tags: upstream-2.29.2
ImportĀ upstreamĀ versionĀ 2.29.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
                        lang->config = enchant_broker_init ();
220
220
                        lang->speller = enchant_broker_request_dict (lang->config, strv[i]);
221
221
 
222
 
                        languages = g_list_append (languages, lang);
 
222
                        if (lang->speller == NULL) {
 
223
                                DEBUG ("language '%s' has no valid dict", strv[i]);
 
224
                        } else {
 
225
                                languages = g_list_append (languages, lang);
 
226
                        }
 
227
 
223
228
                        i++;
224
229
                }
225
230