NS_IMPL_LOG(EmbedMozillaLog, 0)
NS_IMPL_LOG(EmbedMozillaLog)
NS_IMPL_LOG(EmbedMozillaLog, 0)#define PRINTF NS_LOG_PRINTF(EmbedMozillaLog)#define FLUSH  NS_LOG_FLUSH(EmbedMozillaLog)static XtGeometryResultQueryGeometry( Widget w, XtWidgetGeometry *request, XtWidgetGeometry *reply );static XtGeometryResultGeometryManager(Widget w, XtWidgetGeometry *request, XtWidgetGeometry *reply);static void ChangeManaged(Widget w);static void	CoreRealize			(Widget,XtValueMask *,XSetWindowAttributes *);static void Resize(Widget w);XtEmbedMozillaClassRec xtEmbedMozillaClassRec ={  {/* core_class fields      */    /* superclass         */    (WidgetClass) &constraintClassRec,    /* class_name         */    "XtEmbedMozilla",    /* widget_size        */    sizeof(XtEmbedMozillaRec),    /* class_initialize   */    NULL,    /* class_partinit     */    NULL /* ClassPartInitialize */,    /* class_inited       */	  FALSE,    /* initialize         */    NULL /* Initialize */,    /* Init hook	        */    NULL,    /* realize            */    CoreRealize,    /* actions		        */	  NULL,    /* num_actions	      */	  0,    /* resources          */    NULL /* resources */,    /* num_resources      */    0 /* XtNumber(resources) */,    /* xrm_class          */    NULLQUARK,    /* compress_motion	  */	  TRUE,    /* compress_exposure  */	  TRUE,    /* compress_enterleave*/	  TRUE,    /* visible_interest   */    FALSE,    /* destroy            */    NULL,    /* resize             */    Resize,    /* expose             */    XtInheritExpose /* (XtExposeProc) Redisplay */,    /* set_values         */    NULL /* (XtSetValuesFunc )SetValues */,    /* set values hook    */    NULL,    /* set values almost  */    XtInheritSetValuesAlmost,    /* get values hook    */    NULL,    /* accept_focus       */    NULL,    /* Version            */    XtVersion,    /* PRIVATE cb list    */    NULL,    /* tm_table		        */    XtInheritTranslations,    /* query_geometry     */    QueryGeometry,    /* display_accelerator*/    NULL,    /* extension          */    NULL,  },  {/* composite_class fields */    /* geometry_manager   */    XtInheritGeometryManager, //GeometryManager,    /* change_managed     */    XtInheritChangeManaged, //ChangeManaged,    /* insert_child	      */    XtInheritInsertChild,    /* delete_child	      */    XtInheritDeleteChild,    /* Extension          */    NULL,  },	{/* Constraint class Init */    NULL,    0,    0,    NULL,    NULL,    NULL,    NULL        },	{/* XtEmbedMozilla class - none */          /* mumble */               0	}};WidgetClass xtEmbedMozillaClass = (WidgetClass)&xtEmbedMozillaClassRec;#define XtX(w)            w->core.x#define XtY(w)            w->core.y#define XtWidth(w)        w->core.width#define XtHeight(w)       w->core.height#define XtBorderWidth(w)  w->core.border_widthstatic XtGeometryResultQueryGeometry( Widget w, XtWidgetGeometry *request, XtWidgetGeometry *reply ){	if ( request->request_mode == 0 )		return XtGeometryYes;	reply->request_mode &= CWWidth | CWHeight;		if ( request->request_mode & CWWidth )		reply->width = request->width;	if ( request->request_mode & CWHeight )		reply->height = request->height;	return XtGeometryYes;}