summaryrefslogtreecommitdiff
path: root/src/gui_xmdlg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_xmdlg.c')
-rw-r--r--src/gui_xmdlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_xmdlg.c b/src/gui_xmdlg.c
index a7470580c..95e3268e3 100644
--- a/src/gui_xmdlg.c
+++ b/src/gui_xmdlg.c
@@ -69,7 +69,7 @@ add_cancel_action(Widget shell, XtCallbackProc close_callback, void *arg)
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)