diff --git a/harbour/ChangeLog b/harbour/ChangeLog index c20e1306c0..ea00e0ba8e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-01-12 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/examples/gtwvw/gtwvw.c + * updated to use hbgtreg.h to register the GT + 2010-01-12 13:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbnetio/utils/netiosrv.prg + Added new parameter parsing allowing to pass options in free diff --git a/harbour/examples/gtwvw/gtwvw.c b/harbour/examples/gtwvw/gtwvw.c index 0c2bafabad..68b3ad70da 100644 --- a/harbour/examples/gtwvw/gtwvw.c +++ b/harbour/examples/gtwvw/gtwvw.c @@ -7975,23 +7975,7 @@ static BOOL hb_gt_FuncInit( PHB_GT_FUNCS pFuncTable ) return TRUE; } -static const HB_GT_INIT gtInit = { HB_GT_DRVNAME( HB_GT_NAME ), - hb_gt_FuncInit, - HB_GTSUPER, - HB_GTID_PTR }; - -HB_GT_ANNOUNCE( HB_GT_NAME ) - -HB_CALL_ON_STARTUP_BEGIN( _hb_startup_gt_Init_ ) - hb_gtRegister( >Init ); -HB_CALL_ON_STARTUP_END( _hb_startup_gt_Init_ ) - -#if defined( HB_PRAGMA_STARTUP ) - #pragma startup _hb_startup_gt_Init_ -#elif defined( HB_DATASEG_STARTUP ) - #define HB_DATASEG_BODY HB_DATASEG_FUNC( _hb_startup_gt_Init_ ) - #include "hbiniseg.h" -#endif +#include "hbgtreg.h" /////////////////////////////////////////////////////////////////////// //