changeset 2508:cb795bba48a4

GTK4: Fix the new dw_x11_check() function that is thread safe.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 06 May 2021 23:25:07 +0000
parents 4b45e888eb10
children eaac1317b851
files gtk4/dw.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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