Unbreak MOZ_SELECTOR_BAR for the hell of it.

This commit is contained in:
ramiro%netscape.com 1998-09-09 10:56:48 +00:00
Родитель 876b607ce8
Коммит a5fc8c19c9
2 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -285,8 +285,8 @@ XFE_NavCenterView::addHTView(HT_View htview)
else {
// Create the image object and register callback
rdfImage = new XFE_RDFImage(_toplevel, (void *) this, imageURL,
CONTEXT_DATA(_contextData)->colormap,
rdfImage = new XFE_RDFImage(m_toplevel, (void *) this, imageURL,
CONTEXT_DATA(m_contextData)->colormap,
button);
rdfImage->setCompleteCallback((completeCallbackPtr)image_complete_cb,
(void *) button);
@ -308,12 +308,12 @@ XFE_NavCenterView::selector_activate_cb(Widget /* w */,
XtPointer clientData,
XtPointer /* callData */)
{
HT_View htView = (HT_View)clientData;
HT_Pane htPane = HT_GetPane(htView);
// HT_View htView = (HT_View)clientData;
// HT_Pane htPane = HT_GetPane(htView);
XFE_NavCenterView * nc = (XFE_NavCenterView *)HT_GetPaneFEData(htPane);
// XFE_NavCenterView * nc = (XFE_NavCenterView *)HT_GetPaneFEData(htPane);
nc->setRdftree(htView);
// nc->setRdftree(htView);
}
//////////////////////////////////////////////////////////////////////
Widget
@ -403,7 +403,7 @@ XFE_NavCenterView::createSelectorBar()
{
_selector = XtVaCreateManagedWidget("selector",
xfeToolScrollWidgetClass,
navCenterMainForm,
getBaseWidget(),
XmNtopOffset, 0,
XmNbottomOffset, 0,
XmNleftOffset, 0,

Просмотреть файл

@ -48,7 +48,7 @@ public:
void selectHTView (HT_View view);
#ifdef MOZ_SELECTOR_BAR
void addHTView (HT_View view);
Widget getSelector () { return m_selector; }
Widget getSelector ();
static void selector_activate_cb (Widget,XtPointer,XtPointer);
#endif /*MOZ_SELECTORY_BAR*/