From 6ff895239ab95e2f6cf8f80d9b37219a5362e937 Mon Sep 17 00:00:00 2001 From: Yair Hershkovitz Date: Mon, 12 May 2008 10:04:21 +0000 Subject: [PATCH] Coding convention fix. Space between a function name and its opening 2008-05-12 Yair Hershkovitz * glib/gi18n.c (g_i18n_init): Coding convention fix. Space between a function name and its opening parenthesis. svn path=/trunk/; revision=6885 --- ChangeLog | 7 ++++++- glib/gi18n.c | 14 +++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2385948..ad4734b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-12 Yair Hershkovitz + + * glib/gi18n.c (g_i18n_init): Coding convention fix. Space between + a function name and its opening parenthesis. + 2008-05-12 Tor Lillqvist * glib/glib.symbols: Add g_i18n_init. @@ -13,7 +18,7 @@ 2008-05-11 Yair Hershkovitz - 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, diff --git a/glib/gi18n.c b/glib/gi18n.c index 0d185ed..fd22c2b 100644 --- a/glib/gi18n.c +++ b/glib/gi18n.c @@ -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."); -- 2.7.4