When compiling with OpenMotif on Linux with gcc,
I get the following compilation warning:
gui_xmdlg.c:72: warning: missing sentinel in function call
Attached patch fixes it.
-- Dominique
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
Index: gui_xmdlg.c
===================================================================
RCS file: /cvsroot/vim/vim7/src/gui_xmdlg.c,v
retrieving revision 1.4
diff -c -r1.4 gui_xmdlg.c
*** gui_xmdlg.c 10 May 2007 18:11:35 -0000 1.4
--- gui_xmdlg.c 21 Jun 2008 13:49:35 -0000
***************
*** 69,75 ****
Display *display = XtDisplay(shell);
/* deactivate the built-in delete response of killing the application */
! XtVaSetValues(shell, XmNdeleteResponse, XmDO_NOTHING, 0);
/* add a delete window protocol callback instead */
if (!dw_atom)
--- 69,75 ----
Display *display = XtDisplay(shell);
/* deactivate the built-in delete response of killing the application */
! XtVaSetValues(shell, XmNdeleteResponse, XmDO_NOTHING, NULL);
/* add a delete window protocol callback instead */
if (!dw_atom)