aboutsummaryrefslogtreecommitdiff
path: root/src/main.vala
blob: 4da9e58fe0aa1ec9024f29c87ec53b263d6971fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

[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);

	Notify.init ("indicator-sound");

	var service = new IndicatorSound.Service ();
	return service.run ();
}