1 #include "singleword.h"
8 int main(int argc
, char **argv
)
10 gtk_init(&argc
, &argv
);
12 bindtextdomain(g_get_application_name(), LOCALEDIR
);
14 /* textdomain(g_get_application_name());
16 * This makes the application use a standard domain,
17 * instead of a changing program name. For example
18 * on win32 it will be sgc.exe
21 textdomain("singleword");
23 xml
= glade_xml_new(GLADESOURCE
, NULL
, g_get_application_name());
26 g_error(_("Could not open the GUI!"));
29 gchar
*path
= g_build_filename(RECORDPATH
, "singleword.wav", NULL
);
31 gchar
*argv
[2] = { "Praat", "niets" };
32 praat_init("Praat", 2, argv
);
38 /* connect signal handlers */
39 glade_xml_signal_autoconnect(xml
);
41 g_thread_create((GThreadFunc
)sound_init
, NULL
, FALSE
, NULL
);