4 * Created on: 2009-10-01
8 #include <hildon/hildon.h>
11 #include "home_screen.h"
12 #include "data_structs.h"
15 int main(int argc, char **argv) {
16 HildonProgram *program;
19 if (!g_thread_supported()) {
25 hildon_gtk_init(&argc, &argv);
26 gst_init(&argc,&argv);
28 program = hildon_program_get_instance();
29 g_set_application_name("Jamendo");
31 /* register boxed types */
32 data_structs_type_register();
34 win = home_screen_new();
36 hildon_program_set_common_toolbar(program, GTK_TOOLBAR(player_toolbar_create()));
38 g_signal_connect(win, "destroy", G_CALLBACK(gtk_main_quit), NULL);
40 /* This call show the window and also add the window to the stack */