diff options
author | Yair Hershkovitz <yairhr@gmail.com> | 2008-05-11 09:49:30 +0000 |
---|---|---|
committer | Yair Hershkovitz <yairhr@src.gnome.org> | 2008-05-11 09:49:30 +0000 |
commit | 670775d8d8301b4593726a81c8ed3dc7a7bf7cc3 (patch) | |
tree | ef2094bfb2028aa3eb10d584d90d87d45b49ec12 /gtk/gtkimmulticontext.c | |
parent | 1103d790b17380acb2ebb09049f75ff0aa0e2424 (diff) | |
download | gtk+-670775d8d8301b4593726a81c8ed3dc7a7bf7cc3.tar.gz |
call g_i18n_init() in gettext_initialization(). do gettext_initialization
2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
* gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
gettext_initialization only once.
* gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
with the extended functionality that was in the removed dpgettext().
* gtk/gtkaccellabelc:
* gtk/gtkstock.c:
* gtk/gtkimmulticontext.c:
* gtk/gtkactiongroup.c:
* gtk/gtkintl.h: use glib i18n api.
svn path=/trunk/; revision=20091
Diffstat (limited to 'gtk/gtkimmulticontext.c')
-rw-r--r-- | gtk/gtkimmulticontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c index 484ae51e6d..3ee0cc565f 100644 --- a/gtk/gtkimmulticontext.c +++ b/gtk/gtkimmulticontext.c @@ -590,7 +590,7 @@ gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context, #ifdef HAVE_BIND_TEXTDOMAIN_CODESET bind_textdomain_codeset (contexts[i]->domain, "UTF-8"); #endif - translated_name = dgettext (contexts[i]->domain, contexts[i]->context_name); + translated_name = g_dgettext (contexts[i]->domain, contexts[i]->context_name); } else { |