7123957: Switch of Gnome theme ends up deadlocked in GTKEngine.native_switch_theme

Reviewed-by: art, anthony
This commit is contained in:
Dmitry Cherepanov 2012-06-05 19:48:00 +04:00
parent 429a57b49d
commit a658a623a8

View File

@ -323,9 +323,8 @@ Java_com_sun_java_swing_plaf_gtk_GTKEngine_nativeFinishPainting(
JNIEXPORT void JNICALL Java_com_sun_java_swing_plaf_gtk_GTKEngine_native_1switch_1theme(
JNIEnv *env, jobject this)
{
fp_gdk_threads_enter();
// Note that flush_gtk_event_loop takes care of locks (7053002)
flush_gtk_event_loop();
fp_gdk_threads_leave();
}
/*