1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

Check for threads

This commit is contained in:
Mukund Sivaraman 2008-08-17 12:39:34 +00:00
parent 4404ead503
commit 04d9cc1d54

View file

@ -373,7 +373,9 @@ main( int argc, char ** argv )
g_set_application_name( _( "Transmission" ) );
/* initialize gtk */
g_thread_init( NULL );
if( !g_thread_supported() )
g_thread_init( NULL );
gerr = NULL;
if( !gtk_init_with_args( &argc, &argv, _("[torrent files]"), entries, domain, &gerr ) ) {
g_message( "%s", gerr->message );