# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1620343507 0 # Node ID cb795bba48a42fcb5ebc5282ee5aa7b2c3629be2 # Parent 4b45e888eb102edebbaf8dc6bec554407147b41a GTK4: Fix the new dw_x11_check() function that is thread safe. diff -r 4b45e888eb10 -r cb795bba48a4 gtk4/dw.c --- a/gtk4/dw.c Thu May 06 23:22:10 2021 +0000 +++ b/gtk4/dw.c Thu May 06 23:25:07 2021 +0000 @@ -11058,9 +11058,9 @@ } DW_FUNCTION_DEFINITION(dw_x11_check, int, int trueresult, int falseresult) -DW_FUNCTION_ADD_PARAM1(handle) -DW_FUNCTION_RETURN(dw_window_raise, int) -DW_FUNCTION_RESTORE_PARAM1(trueresult, int, falseresult, int) +DW_FUNCTION_ADD_PARAM2(trueresult, falseresult) +DW_FUNCTION_RETURN(dw_x11_check, int) +DW_FUNCTION_RESTORE_PARAM2(trueresult, int, falseresult, int) { int retval = falseresult; #ifdef GDK_WINDOWING_X11