mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
Check for threads
This commit is contained in:
parent
4404ead503
commit
04d9cc1d54
1 changed files with 3 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue