mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 17:50:45 +00:00
7123957: Switch of Gnome theme ends up deadlocked in GTKEngine.native_switch_theme
Reviewed-by: art, anthony
This commit is contained in:
parent
429a57b49d
commit
a658a623a8
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user