| 520 debug_enabled = TRUE; |
520 debug_enabled = TRUE; |
| 521 #else |
521 #else |
| 522 debug_enabled = FALSE; |
522 debug_enabled = FALSE; |
| 523 #endif |
523 #endif |
| 524 |
524 |
| 525 /* Initialize GThread before calling any Glib or GTK+ functions. */ |
525 #if !GLIB_CHECK_VERSION(2, 32, 0) |
| |
526 /* GLib threading system is automaticaly initialized since 2.32. |
| |
527 * For earlier versions, it have to be initialized before calling any |
| |
528 * Glib or GTK+ functions. |
| |
529 */ |
| 526 g_thread_init(NULL); |
530 g_thread_init(NULL); |
| |
531 #endif |
| 527 |
532 |
| 528 g_set_prgname("Pidgin"); |
533 g_set_prgname("Pidgin"); |
| 529 |
534 |
| 530 #ifdef ENABLE_NLS |
535 #ifdef ENABLE_NLS |
| 531 bindtextdomain(PACKAGE, LOCALEDIR); |
536 bindtextdomain(PACKAGE, LOCALEDIR); |