blob: 0a893b3cee10ff70fa46bf5b25d8f8119dce3c4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* 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");
MediaPlayerList * playerlist = MEDIA_PLAYER_LIST(media_player_list_mpris_new());
service = indicator_sound_service_new (playerlist);
result = indicator_sound_service_run (service);
g_object_unref(playerlist);
g_object_unref(service);
return result;
}
|