Merge pull request #316 from perallard/master
Issue: can't compile on Arch Linux #304
This commit is contained in:
commit
bca921ddae
|
@ -568,10 +568,6 @@ int main(int argc, char ** argv) {
|
|||
slot2_Init();
|
||||
slot2_Change((NDS_SLOT2_TYPE)slot2_device_type);
|
||||
|
||||
#if !g_thread_supported()
|
||||
g_thread_init( NULL);
|
||||
#endif
|
||||
|
||||
driver = new BaseDriver();
|
||||
|
||||
#ifdef GDB_STUB
|
||||
|
|
|
@ -334,10 +334,8 @@ gchar * get_ui_file (const char *filename)
|
|||
void *
|
||||
createThread_gdb( void (*thread_function)( void *data),
|
||||
void *thread_data) {
|
||||
GThread *new_thread = g_thread_create( (GThreadFunc)thread_function,
|
||||
thread_data,
|
||||
TRUE,
|
||||
NULL);
|
||||
GThread *new_thread = g_thread_new(NULL, (GThreadFunc)thread_function,
|
||||
thread_data);
|
||||
|
||||
return new_thread;
|
||||
}
|
||||
|
@ -531,10 +529,6 @@ int main(int argc, char *argv[]) {
|
|||
fprintf(stderr, "Warning: X11 not thread-safe\n");
|
||||
}
|
||||
|
||||
#if !g_thread_supported()
|
||||
g_thread_init( NULL);
|
||||
#endif
|
||||
|
||||
gtk_init(&argc, &argv);
|
||||
|
||||
#ifdef GTKGLEXT_AVAILABLE
|
||||
|
|
|
@ -789,10 +789,9 @@ void *
|
|||
createThread_gdb( void (*thread_function)( void *data),
|
||||
void *thread_data)
|
||||
{
|
||||
GThread *new_thread = g_thread_create( (GThreadFunc)thread_function,
|
||||
thread_data,
|
||||
TRUE,
|
||||
NULL);
|
||||
GThread *new_thread = g_thread_new(NULL,
|
||||
(GThreadFunc)thread_function,
|
||||
thread_data);
|
||||
|
||||
return new_thread;
|
||||
}
|
||||
|
@ -3612,10 +3611,6 @@ int main (int argc, char *argv[])
|
|||
fprintf(stderr, "Warning: X11 not thread-safe\n");
|
||||
}
|
||||
|
||||
#if !g_thread_supported()
|
||||
g_thread_init( NULL);
|
||||
#endif
|
||||
|
||||
gtk_init(&argc, &argv);
|
||||
|
||||
if ( !fill_configured_features( &my_config, argv)) {
|
||||
|
|
Loading…
Reference in New Issue