diff lwlib/lwlib-Xaw.c @ 460:223736d75acb r21-2-45

Import from CVS: tag r21-2-45
author cvs
date Mon, 13 Aug 2007 11:43:24 +0200
parents 98528da0b7fc
children 04bc9d2f42c7
line wrap: on
line diff
--- a/lwlib/lwlib-Xaw.c	Mon Aug 13 11:42:27 2007 +0200
+++ b/lwlib/lwlib-Xaw.c	Mon Aug 13 11:43:24 2007 +0200
@@ -46,10 +46,8 @@
 #include "xlwradio.h"
 #include "xlwcheckbox.h"
 #include "xlwgauge.h"
-#ifndef NEED_MOTIF
 #include ATHENA_AsciiText_h_
 #endif
-#endif
 #include <X11/Xatom.h>
 
 static void xaw_generic_callback (Widget, XtPointer, XtPointer);
@@ -838,7 +836,7 @@
   return scale;
 }
 
-#ifndef NEED_MOTIF
+#if defined(LWLIB_WIDGETS_ATHENA)
 #define TEXT_BUFFER_SIZE 128
 static Widget
 xaw_create_text_field (widget_instance *instance)
@@ -890,9 +888,7 @@
 #ifdef LWLIB_WIDGETS_ATHENA
   {"button",		xaw_create_button		},
   { "label", 		xaw_create_label_field		},
-#ifndef NEED_MOTIF
   {"text-field",		xaw_create_text_field		},
-#endif
   {"progress",		xaw_create_progress		},
 #endif
   {NULL, NULL}