aboutsummaryrefslogtreecommitdiff
path: root/src/main.vala
blob: 97f311f58eef56885e6090dff0765ec9e49c7a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
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 ();
}