GNOME Bugzilla – Bug 649202
Don't call textdomain()
Last modified: 2011-05-02 18:38:10 UTC
As a library, libmutter should not be setting the default translation domain to point to itself. Also, move the bindtextdomain() call earlier (meta_get_option_context), so that translations of command-line options will be available. We could call textdomain() in mutter.c, but there's no need to, since mutter uses dgettext() everywhere anyway.
Created attachment 187045 [details] [review] Don't call textdomain()
Review of attachment 187045 [details] [review]: Looks good to me. We'll get another setlocale() call via meta_init() => meta_ui_init() => gtk_init_check(), but I think that's harmless and there's no need to call gtk_disable_setlocale()
Attachment 187045 [details] pushed as d9007a0 - Don't call textdomain()