Coding convention fix. Space between a function name and its opening

2008-05-12  Yair Hershkovitz  <yairhr@gmail.com>

        * glib/gi18n.c (g_i18n_init): Coding convention fix. Space between
        a function name and its opening parenthesis.


svn path=/trunk/; revision=6885
This commit is contained in:
Yair Hershkovitz 2008-05-12 10:04:21 +00:00 committed by Yair Hershkovitz
parent 5e96ad041f
commit 6ff895239a
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
* glib/gi18n.c (g_i18n_init): Coding convention fix. Space between
a function name and its opening parenthesis.
2008-05-12 Tor Lillqvist <tml@novell.com>
* glib/glib.symbols: Add g_i18n_init.
@ -13,7 +18,7 @@
2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
Bug 503071 - Application direction changes to right to left even if
Bug 503071 - Application direction changes to right to left even if
theres no translation.
* glib/gi18n.c: g_i18n_init() for initializing the glib i18n,

View File

@ -37,18 +37,18 @@ g_i18n_init (void)
{
gchar *domain, *default_domain;
setlocale(LC_ALL, "");
domain = g_strdup(textdomain (NULL));
default_domain = g_strdup(textdomain (""));
textdomain(domain);
setlocale (LC_ALL, "");
domain = g_strdup (textdomain (NULL));
default_domain = g_strdup (textdomain (""));
textdomain (domain);
if (!strcmp (domain, default_domain))
g_warning ("textdomain() must be called before glib i18n initialization");
g_free(domain);
g_free(default_domain);
g_free (domain);
g_free (default_domain);
if (!*gettext(""))
if (!*gettext (""))
{
g_should_translate = FALSE;
g_warning ("No translation is available for the requested locale.");