diff options
| author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-07-12 09:17:03 +0000 |
|---|---|---|
| committer | Tarmac <Unknown> | 2013-07-12 09:17:03 +0000 |
| commit | 98c77c44a6c374a3fab401eb791ec4e968bf7168 (patch) | |
| tree | b81019f0a3b44512a6e033752b901165ff645089 /src/main.vala | |
| parent | 1f37b724c2eeb9af4d23de4b28c4ed39f50ed5a0 (diff) | |
| parent | 9507f278131fc855c03a037cdba1053f958d2987 (diff) | |
| download | ayatana-indicator-sound-98c77c44a6c374a3fab401eb791ec4e968bf7168.tar.gz ayatana-indicator-sound-98c77c44a6c374a3fab401eb791ec4e968bf7168.tar.bz2 ayatana-indicator-sound-98c77c44a6c374a3fab401eb791ec4e968bf7168.zip | |
Remove gtk and dbusmenu. Sorry for the big changeset.
I'd appreciate a good deal of testing before merging this into the wild ;).
Approved by Charles Kerr, PS Jenkins bot.
Diffstat (limited to 'src/main.vala')
| -rw-r--r-- | src/main.vala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.vala b/src/main.vala new file mode 100644 index 0000000..97f311f --- /dev/null +++ b/src/main.vala @@ -0,0 +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 (); +} |
