+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.
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,
{
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.");