diff options
Diffstat (limited to 'src/main.vala')
-rw-r--r-- | src/main.vala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.vala b/src/main.vala index 1ec7d2c..97f311f 100644 --- a/src/main.vala +++ b/src/main.vala @@ -1,5 +1,12 @@ +[CCode (cheader_filename="libintl.h", type="char *")] +extern unowned string bind_textdomain_codeset (string domainname, string codeset); + static int main (string[] args) { + bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8"); + Intl.setlocale (LocaleCategory.ALL, ""); + Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR); + var service = new IndicatorSound.Service (); return service.run (); } |