Mercurial > hg > xemacs-beta
diff lwlib/lwlib.h @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | a4f53d9b3154 |
children | 1f50e6fe4f3f |
line wrap: on
line diff
--- a/lwlib/lwlib.h Mon Aug 13 11:01:58 2007 +0200 +++ b/lwlib/lwlib.h Mon Aug 13 11:03:08 2007 +0200 @@ -1,17 +1,8 @@ #ifndef LWLIB_H #define LWLIB_H -#undef CONST - #include <X11/Intrinsic.h> -/* To eliminate use of `const' in the lwlib sources, define CONST_IS_LOSING. */ -#ifdef CONST_IS_LOSING -# define CONST -#else -# define CONST const -#endif - #if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_MENUBARS_MOTIF) || defined (LWLIB_MENUBARS_ATHENA) #define NEED_MENUBARS #endif @@ -113,7 +104,7 @@ /* name of widget */ char* name; - /* value (meaning BOGUSLY depends on widget type) */ + /* value (meaning BOGUSLY depend on widget type) */ char* value; /* keyboard equivalent. no implications for XtTranslations */ char* key; @@ -132,11 +123,11 @@ Boolean edited; /* true if has changed (maintained by lw library) */ change_type change; - /* Contents of sub-widgets, also selected slot for checkbox */ + /* Contents of the sub-widgets, also selected slot for checkbox */ struct _widget_value* contents; /* data passed to callback */ XtPointer call_data; - /* next in the list of siblings */ + /* next one in the list */ struct _widget_value* next; /* slot for the toolkit dependent part. Always initialize to NULL. */ void* toolkit_data;