188
188
/* this point is reached when there is a .desktop file that lists a language specific key for something that had no language-neutral key yet.
197
197
here GenericName[de_AT] will end up here.
198
198
The previous way with g_return_val_if_fail would call an assertion failure and terminate the _whole application_(!!).
200
200
Saner ways to react are either just ignoring GenericName[de_AT] altogether, or, alternatively, just set the normal GenericName
201
201
to Test too (i.e. imply GenericName=Test).
203
203
For now, we are just ignoring the line altogether. But we aren't assert-failing anymore and the apps dont crash anymore.
207
207
/* why you annoying macro, will you stop borking libxfceutil? thanks. DO NOT DO THAT: g_return_val_if_fail (locale == NULL, NULL); */
210
210
entry->key = g_string_chunk_insert (simple->string_chunk, key);
211
211
entry->value = g_string_chunk_insert (simple->string_chunk, value);