6 int main(int argc
, char **argv
)
8 gtk_init(&argc
, &argv
);
10 bindtextdomain(g_get_application_name(), LOCALEDIR
);
12 /* textdomain(g_get_application_name());
14 * This makes the application use a standard domain,
15 * instead of a changing program name. For example
16 * on win32 it will be sgc.exe
21 xml
= glade_xml_new(GLADESOURCE
, NULL
, g_get_application_name());
24 g_error(_("Could not open the GUI!"));
27 if (!g_thread_supported()) {
31 /* connect signal handlers */
32 glade_xml_signal_autoconnect(xml
);
34 on_windowMain_realize(NULL
, NULL
);
36 g_thread_create((GThreadFunc
)sound_init
, NULL
, FALSE
, NULL
);