Searched refs:darwin_locale (Results 1 – 1 of 1) sorted by relevance
452 gchar *darwin_locale = NULL; in get_darwin_locale() local482 darwin_locale = (char *) g_malloc (len + 1); in get_darwin_locale()485 darwin_locale[bytes_converted] = '-'; in get_darwin_locale()488 darwin_locale[bytes_written + bytes_converted] = '-'; in get_darwin_locale()497 if (darwin_locale == NULL) { in get_darwin_locale()502 darwin_locale = (char *) g_malloc (len); in get_darwin_locale()504 g_free (darwin_locale); in get_darwin_locale()510 for (i = 0; i < strlen (darwin_locale); i++) in get_darwin_locale()511 if (darwin_locale [i] == '_') in get_darwin_locale()512 darwin_locale [i] = '-'; in get_darwin_locale()[all …]