This fix is a bit of a hack, I just moved the declarations into the
'user code' portion of main().
dtcodegen needs to be fixed so as not to generate this type of code in
the first place.
XtAppContext app;
Atom save_yourself_atom;
- Pixmap icon_pixmap = 0;
- Pixmap icon_mask_pixmap = 0;
-
/**************************************************************************
*** DTB_USER_CODE_START
***
*** 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).