| 422 |
422 |
| 423 int main(int argc, char *argv[]) |
423 int main(int argc, char *argv[]) |
| 424 { |
424 { |
| 425 signal(SIGPIPE, SIG_IGN); |
425 signal(SIGPIPE, SIG_IGN); |
| 426 |
426 |
| |
427 #if !GLIB_CHECK_VERSION(2, 32, 0) |
| |
428 /* GLib threading system is automaticaly initialized since 2.32. |
| |
429 * For earlier versions, it have to be initialized before calling any |
| |
430 * Glib or GTK+ functions. |
| |
431 */ |
| 427 g_thread_init(NULL); |
432 g_thread_init(NULL); |
| |
433 #endif |
| 428 |
434 |
| 429 g_set_prgname("Finch"); |
435 g_set_prgname("Finch"); |
| 430 g_set_application_name(_("Finch")); |
436 g_set_application_name(_("Finch")); |
| 431 |
437 |
| 432 if (gnt_start(&argc, &argv)) { |
438 if (gnt_start(&argc, &argv)) { |