From 4c871de289100a7d94c2e86ba4c9dbfddc9ee950 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Fri, 25 May 2001 23:17:15 +0000 Subject: [PATCH] fix some bustage on HPUX for pinkerton --- widget/src/gtk/nsWidget.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/widget/src/gtk/nsWidget.cpp b/widget/src/gtk/nsWidget.cpp index 351451d64658..08147fd7d4f5 100644 --- a/widget/src/gtk/nsWidget.cpp +++ b/widget/src/gtk/nsWidget.cpp @@ -309,17 +309,15 @@ NS_IMETHODIMP nsWidget::Destroy(void) // are released nsBaseWidget::Destroy(); -#if SHORTBUS // just to be safe. If we're going away and for some reason we're still // the rollup widget, rollup and turn off capture. nsCOMPtr rollupWidget = do_QueryReferent(gRollupWidget); - if ( NS_REINTERPRET_CAST(this,nsIWidget*) == rollupWidget.get() ) { + if ( NS_REINTERPRET_CAST(nsIWidget*,this) == rollupWidget.get() ) { if ( gRollupListener ) gRollupListener->Rollup(); gRollupWidget = nsnull; gRollupListener = nsnull; } -#endif // destroy our native windows DestroyNative();