diff options
author | Ted Gould <ted@gould.cx> | 2014-03-24 15:02:25 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-03-24 15:02:25 +0000 |
commit | 7a312f2f03a0bc0c52ce8a6f834849d70233cf61 (patch) | |
tree | b7e124f7b3297dc0ea03e08052ae63a7d0d0acc6 /src/main.c | |
parent | 0aae819193bfd6dba02207c4513ccb038d412d4e (diff) | |
parent | 7d47058ef00b8aab6e7b58e20bd6e5fbcecdfc34 (diff) | |
download | ayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.tar.gz ayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.tar.bz2 ayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.zip |
Export currently running player to Accounts Service
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..f8635c8 --- /dev/null +++ b/src/main.c @@ -0,0 +1,32 @@ +/* main.c generated by valac 0.22.1, the Vala compiler + * generated from main.vala, do not modify */ + + +#include <glib.h> +#include <locale.h> +#include <libnotify/notify.h> + +#include "indicator-sound-service.h" +#include "config.h" + +int +main (int argc, char ** argv) { + gint result = 0; + IndicatorSoundService* service = NULL; + + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); + + /* Initialize libnotify */ + notify_init ("indicator-sound"); + + + service = indicator_sound_service_new (); + result = indicator_sound_service_run (service); + g_object_unref(service); + + return result; +} + + |