--- a/libInit.cc Mon Feb 25 20:20:57 2008 +0100
+++ b/libInit.cc Mon Feb 25 20:21:02 2008 +0100
@@ -6,20 +6,15 @@
*/
#define __INDIRECTVMINITCALLS__
#include <stc.h>
-#define INIT_TEXT_SECT /* as nothing */
+
#ifdef WIN32
# pragma codeseg INITCODE "INITCODE"
-#else /* not WIN32 */
-# if defined(__GNUC__) && !defined(NO_SECTION_ATTRIBUTES)
-# if (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) || __GNUC__ > 2
-# undef INIT_TEXT_SECT
-# define INIT_TEXT_SECT __attribute__((section(".stxitext")))
-# endif
-# endif /* not GNUC */
-#endif /* not WIN32 */
-#ifdef INIT_TEXT_SECT
-DLL_EXPORT extern void _libstx_libtool2_Init() INIT_TEXT_SECT;
+#endif
+
+#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
+DLL_EXPORT void _libstx_libtool2_Init() INIT_TEXT_SECTION;
#endif
+
void _libstx_libtool2_Init(pass, __pRT__, snd)
OBJ snd; struct __vmData__ *__pRT__; {
__BEGIN_PACKAGE2__("libstx_libtool2", _libstx_libtool2_Init, "stx:libtool2");
@@ -31,6 +26,7 @@
_UIGalleryView_Init(pass,__pRT__,snd);
_UIHelpTool_Init(pass,__pRT__,snd);
_UILayoutTool_Init(pass,__pRT__,snd);
+_UIListEditor_Init(pass,__pRT__,snd);
_UIObjectView_Init(pass,__pRT__,snd);
_UIPainter_Init(pass,__pRT__,snd);
_UISelectionPanel_Init(pass,__pRT__,snd);