From 9f02b943dbd58e23aad77bb3e974e53b2d1ee183 Mon Sep 17 00:00:00 2001 From: "pavlov%pavlov.net" Date: Sun, 1 Nov 1998 19:29:40 +0000 Subject: [PATCH] few fixes here and there.. more work on making it work --- widget/src/gtk/nsWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/widget/src/gtk/nsWindow.cpp b/widget/src/gtk/nsWindow.cpp index c5071b379b0d..54f465bf03eb 100644 --- a/widget/src/gtk/nsWindow.cpp +++ b/widget/src/gtk/nsWindow.cpp @@ -190,7 +190,6 @@ void nsWindow::InitToolkit(nsIToolkit *aToolkit, void nsWindow::InitDeviceContext(nsIDeviceContext *aContext, GtkWidget *aParentWidget) { -#if 0 // keep a reference to the toolkit object if (aContext) { mContext = aContext; @@ -211,7 +210,6 @@ void nsWindow::InitDeviceContext(nsIDeviceContext *aContext, mContext->Init(aParentWidget); } } -#endif } @@ -364,6 +362,7 @@ void nsWindow::CreateChildWindow(nsNativeWidget aNativeParent, XmNuserData, this, nsnull); #endif + mWidget = gtk_layout_new(0,0); if (aWidgetParent) { aWidgetParent->AddChild(this); }