aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-11 20:52:49 -0600
committerTed Gould <ted@gould.cx>2014-02-11 20:52:49 -0600
commit66edc177867c09e696552a73862c29485194e704 (patch)
treeb6e232201f5dbb7104fee09a857278400c710177 /src/main.c
parent7da8553896b1967d44292e211e9573e2d2d18e74 (diff)
downloadayatana-indicator-sound-66edc177867c09e696552a73862c29485194e704.tar.gz
ayatana-indicator-sound-66edc177867c09e696552a73862c29485194e704.tar.bz2
ayatana-indicator-sound-66edc177867c09e696552a73862c29485194e704.zip
Switch the build to have a library of all the vala components
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c32
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;
+}
+
+