mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-12 11:12:18 +00:00
various: Window objects should be initialised to 0 not NULL
This commit is contained in:
parent
5a763ae48b
commit
341fdfbe71
3 changed files with 3 additions and 3 deletions
|
@ -2476,7 +2476,7 @@ invokeXDrawFunction(
|
|||
char * functionName = argv[0];
|
||||
Display * display;
|
||||
Window drawable;
|
||||
Window destination = NULL;
|
||||
Window destination = 0;
|
||||
int srcX = 0, srcY = 0;
|
||||
int destX = 0, destY = 0;
|
||||
unsigned int width = 0, height = 0;
|
||||
|
|
|
@ -365,7 +365,7 @@ void
|
|||
ManageSession( struct display *d )
|
||||
{
|
||||
int pid;
|
||||
Window root = NULL;
|
||||
Window root = 0;
|
||||
/* Display *dpy; */
|
||||
#ifdef BYPASSLOGIN
|
||||
char *BypassUsername;
|
||||
|
|
|
@ -222,7 +222,7 @@ void MainWindow::PopupMenu(Widget widget, XtPointer client_data,
|
|||
{
|
||||
XRectangle pixmap_rect, label_rect;
|
||||
XButtonEvent * ev;
|
||||
Window child, parent = NULL, root;
|
||||
Window child, parent = 0, root;
|
||||
int root_x, root_y, win_x, win_y;
|
||||
unsigned int modMask;
|
||||
Display * display = XtDisplay(widget);
|
||||
|
|
Loading…
Reference in a new issue