mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtimsstart: Resolve 3 compiler warnings.
This commit is contained in:
parent
b14833740b
commit
97a9c8cbd1
2 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@
|
|||
*/
|
||||
/* @(#)$XConsortium: util.c /main/6 1996/07/12 15:44:21 pascale $ */
|
||||
|
||||
#include <time.h>
|
||||
#include <DtHelp/LocaleXlate.h> /* for locale equivalence between platforms */
|
||||
#include "xims.h"
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -320,7 +320,7 @@ int clear_cmd_property(win) /* clear WM_COMMAND property */
|
|||
ret = XGetCommand(Dpy, win, &av, &ac);
|
||||
if (ret && ac > 0) {
|
||||
XFreeStringList(av);
|
||||
XSetCommand(Dpy, win, 0, NULL);
|
||||
XSetCommand(Dpy, win, 0, 0);
|
||||
XSync(Dpy, False);
|
||||
clear_ok = True;
|
||||
DPR2(("\tWM_COMMAND cleared on %#x\n", win));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue