~ubuntu-branches/ubuntu/karmic/centerim/karmic

« back to all changes in this revision

Viewing changes to intl/langprefs.c

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-03-26 19:51:53 UTC
  • mfrom: (1.1.5 upstream) (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090326195153-dxo63t1lwbp2m592
Tags: 4.22.7-1ubuntu1
* Merge from debian unstable, Ubuntu remaining changes:
  - Packages that Depend/Recommend/Suggest firefox (metapackage) must
    must alternatively Depend/Recommend/Suggest abrowser.
* Bugfix-only release, fixed bugs: LP: #146308 and LP: #186381.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Determine the user's language preferences.
2
 
   Copyright (C) 2004-2006 Free Software Foundation, Inc.
 
2
   Copyright (C) 2004-2005 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify it
5
5
   under the terms of the GNU Library General Public License as published
26
26
 
27
27
#if HAVE_CFPREFERENCESCOPYAPPVALUE
28
28
# include <string.h>
29
 
# include <CoreFoundation/CFPreferences.h>
30
 
# include <CoreFoundation/CFPropertyList.h>
31
 
# include <CoreFoundation/CFArray.h>
32
 
# include <CoreFoundation/CFString.h>
 
29
# include <CFPreferences.h>
 
30
# include <CFPropertyList.h>
 
31
# include <CFArray.h>
 
32
# include <CFString.h>
33
33
extern void _nl_locale_name_canonicalize (char *name);
34
34
#endif
35
35
 
36
36
/* Determine the user's language preferences, as a colon separated list of
37
37
   locale names in XPG syntax
38
 
     language[_territory][.codeset][@modifier]
 
38
     language[_territory[.codeset]][@modifier]
39
39
   The result must not be freed; it is statically allocated.
40
40
   The LANGUAGE environment variable does not need to be considered; it is
41
41
   already taken into account by the caller.  */