Initialize gettext before use. Calling bindtextdomain() and
authorTor Lillqvist <tml@novell.com>
Fri, 22 Apr 2005 07:54:56 +0000 (07:54 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Fri, 22 Apr 2005 07:54:56 +0000 (07:54 +0000)
commit8cf1f87e6ed8bf4ebe5177ffc6e640abe0b83840
tree0fec9683226980505394ea50796630cb3e0be563
parent0f8cfc90f721864d9d99c72842037ce7126fcb27
Initialize gettext before use. Calling bindtextdomain() and

2005-04-22  Tor Lillqvist  <tml@novell.com>

* atk/atkobject.c: Initialize gettext before use. Calling
bindtextdomain() and bind_textdomain_codeset() in
atk_role_get_localized_name() was too late. Put the calls in new
function gettext_initialization() and call that from
atk_object_class_init() and atk_role_get_localized_name(). Move
the Win32-specific DllMain() and get_atk_locale_dir() functions
and theredefinition of ATK_LOCALEDIR before
gettext_initialization() as it uses ATK_LOCALEDIR. Fixes #170948
for atk's part. Thanks to Robert Ă–gren, Daniel Atallah and Kevin
Strange.
ChangeLog
atk/atkobject.c