pidgin/gtkmain.c

branch
release-2.x.y
changeset 35980
b44c08754471
parent 33794
716cbef8d1c6
child 35991
e6937e52930b
equal deleted inserted replaced
35979:ca8204d663bf 35980:b44c08754471
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);

mercurial