M dom/src/Makefile.in

M webclient/src_moz/EmbedWindow.cpp
M webclient/src_moz/NativeWrapperFactory.cpp
M webclient/src_moz/gtk/Makefile.in

- fixes for building under GNU/Linux


git-svn-id: svn://10.0.0.236/trunk@154981 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2004-04-16 19:02:21 +00:00
parent bec7802615
commit 76d63dc880
4 changed files with 9 additions and 7 deletions

View File

@@ -69,10 +69,11 @@ EmbedWindow::Init(NativeBrowserControl *aOwner)
nsresult
EmbedWindow::CreateWindow_(void)
{
nsresult rv;
int width, height;
nsresult rv;
int width, height;
#ifdef XP_UNIX
GtkWidget *ownerAsWidget (GTK_WIDGET(mOwner->parentHwnd));
PR_ASSERT(PR_FALSE);
GtkWidget *ownerAsWidget (GTK_WIDGET(mOwner->parentHWnd));
width = ownerAsWidget->allocation.width;
height = ownerAsWidget->allocation.height;
#else
@@ -354,7 +355,7 @@ NS_IMETHODIMP
EmbedWindow::GetSiteWindow(void **aSiteWindow)
{
#ifdef XP_UNIX
GtkWidget *ownerAsWidget (GTK_WIDGET(mOwner->parentHwnd));
GtkWidget *ownerAsWidget (GTK_WIDGET(mOwner->parentHWnd));
#else
HWND ownerAsWidget = mOwner->parentHWnd;
#endif