diff src/gui_xmdlg.c @ 1621:82b5078be2dd

updated for version 7.2a
author vimboss
date Tue, 24 Jun 2008 21:56:24 +0000
parents 8906c10ecbb0
children f10fe14748e2
line wrap: on
line diff
--- a/src/gui_xmdlg.c
+++ b/src/gui_xmdlg.c
@@ -69,7 +69,7 @@ add_cancel_action(Widget shell, XtCallba
     Display *display = XtDisplay(shell);
 
     /* deactivate the built-in delete response of killing the application */
-    XtVaSetValues(shell, XmNdeleteResponse, XmDO_NOTHING, 0);
+    XtVaSetValues(shell, XmNdeleteResponse, XmDO_NOTHING, NULL);
 
     /* add a delete window protocol callback instead */
     if (!dw_atom)