From 13e9078f8364d5c30353d4e50c98fb6304eac462 Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Mon, 15 May 2000 21:18:57 +0000 Subject: [PATCH] remove some unused member variables --- widget/src/gtk/nsWindow.cpp | 3 --- widget/src/gtk/nsWindow.h | 4 ---- 2 files changed, 7 deletions(-) diff --git a/widget/src/gtk/nsWindow.cpp b/widget/src/gtk/nsWindow.cpp index aa2fd6e74a97..b01661f222f8 100644 --- a/widget/src/gtk/nsWindow.cpp +++ b/widget/src/gtk/nsWindow.cpp @@ -121,8 +121,6 @@ NS_IMPL_ISUPPORTS_INHERITED0(nsWindow, nsWidget) //------------------------------------------------------------------------- nsWindow::nsWindow() { - // NS_INIT_REFCNT(); - mFontMetrics = nsnull; mShell = nsnull; mResized = PR_FALSE; mVisible = PR_FALSE; @@ -130,7 +128,6 @@ nsWindow::nsWindow() mLowerLeft = PR_FALSE; mWindowType = eWindowType_child; mBorderStyle = eBorderStyle_default; - mFont = nsnull; mSuperWin = 0; mMozArea = 0; mMozAreaClosestParent = 0; diff --git a/widget/src/gtk/nsWindow.h b/widget/src/gtk/nsWindow.h index 189ddbb4eb3d..2449a311fbe7 100644 --- a/widget/src/gtk/nsWindow.h +++ b/widget/src/gtk/nsWindow.h @@ -223,14 +223,10 @@ protected: virtual void InitCallbacks(char * aName = nsnull); NS_IMETHOD CreateNative(GtkObject *parentWidget); - nsIFontMetrics *mFontMetrics; PRBool mVisible; PRBool mDisplayed; PRBool mIsTooSmall; - // XXX Temporary, should not be caching the font - nsFont * mFont; - // Resize event management nsRect mResizeRect; int mResized;