| 467 debug_enabled = TRUE; |
467 debug_enabled = TRUE; |
| 468 #else |
468 #else |
| 469 debug_enabled = FALSE; |
469 debug_enabled = FALSE; |
| 470 #endif |
470 #endif |
| 471 |
471 |
| 472 /* Initialize GThread before calling any Glib or GTK+ functions. */ |
472 #if !GLIB_CHECK_VERSION(2, 32, 0) |
| |
473 /* GLib threading system is automaticaly initialized since 2.32. |
| |
474 * For earlier versions, it have to be initialized before calling any |
| |
475 * Glib or GTK+ functions. |
| |
476 */ |
| 473 g_thread_init(NULL); |
477 g_thread_init(NULL); |
| |
478 #endif |
| 474 |
479 |
| 475 g_set_prgname("Pidgin"); |
480 g_set_prgname("Pidgin"); |
| 476 |
481 |
| 477 #ifdef ENABLE_NLS |
482 #ifdef ENABLE_NLS |
| 478 bindtextdomain(PACKAGE, LOCALEDIR); |
483 bindtextdomain(PACKAGE, LOCALEDIR); |