projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9327f
)
Revert "ttsnoop: NULL is not 0"
author
Jon Trulson
<jon@radscan.com>
Wed, 17 Sep 2014 00:09:21 +0000
(18:09 -0600)
committer
Jon Trulson
<jon@radscan.com>
Wed, 17 Sep 2014 00:09:21 +0000
(18:09 -0600)
This reverts commit
6a9327f2ab0bb09a681b86a45cf4a7bf9e9c28d4
.
The real fix for this (and other issues) needs to be done in dtcodegen.
cde/programs/ttsnoop/ttsnoop.C.src
patch
|
blob
|
history
diff --git
a/cde/programs/ttsnoop/ttsnoop.C.src
b/cde/programs/ttsnoop/ttsnoop.C.src
index 72dd8fdf761e3932ad1442e1a327cedab5df78c5..e5fe8758aa3d8086fdd68470198fd71f9b6f74a2 100644
(file)
--- a/
cde/programs/ttsnoop/ttsnoop.C.src
+++ b/
cde/programs/ttsnoop/ttsnoop.C.src
@@
-340,6
+340,9
@@
main(int argc, char **argv)
XtAppContext app;
Atom save_yourself_atom;
+ Pixmap icon_pixmap = 0;
+ Pixmap icon_mask_pixmap = 0;
+
/**************************************************************************
*** DTB_USER_CODE_START
***
@@
-348,9
+351,6
@@
main(int argc, char **argv)
*** Add local variables and code.
***/
- Pixmap icon_pixmap = 0;
- Pixmap icon_mask_pixmap = 0;
-
/*
* The application must call DtTermInitialize() before
* initializing the Xt Toolkit with XtAppInitialize(3X).