From a9442a9929a1f921065f59c61b0a8b07c867b15c Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Thu, 22 Apr 1999 07:40:46 +0000 Subject: [PATCH] Removing nsSelectionMgr references from the build. --- widget/public/Makefile.in | 1 - widget/src/gtk/Makefile.in | 1 - widget/src/gtk/nsAppShell.cpp | 7 +------ 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/widget/public/Makefile.in b/widget/public/Makefile.in index 289c377880c..cc61a6dc83c 100644 --- a/widget/public/Makefile.in +++ b/widget/public/Makefile.in @@ -67,7 +67,6 @@ EXPORTS = \ nsIMenuButton.h \ nsIImageButtonListener.h \ nsIContentConnector.h \ - nsISelectionMgr.h \ nsIClipboard.h \ nsIDataFlavor.h \ nsITransferable.h \ diff --git a/widget/src/gtk/Makefile.in b/widget/src/gtk/Makefile.in index 8ffe75518a2..8c53e1ff5f5 100644 --- a/widget/src/gtk/Makefile.in +++ b/widget/src/gtk/Makefile.in @@ -60,7 +60,6 @@ CPPSRCS= \ nsToolkit.cpp \ nsGtkEventHandler.cpp \ nsRadioButton.cpp \ - nsSelectionMgr.cpp \ nsPopUpMenu.cpp \ nsWidget.cpp \ nsWindow.cpp \ diff --git a/widget/src/gtk/nsAppShell.cpp b/widget/src/gtk/nsAppShell.cpp index 42e9d84569e..d85ce9a7b7e 100644 --- a/widget/src/gtk/nsAppShell.cpp +++ b/widget/src/gtk/nsAppShell.cpp @@ -21,7 +21,6 @@ #include "plevent.h" #include "nsIServiceManager.h" #include "nsIEventQueueService.h" -#include "nsSelectionMgr.h" #include "nsXPComCIID.h" #include @@ -58,7 +57,7 @@ nsAppShell::nsAppShell() //------------------------------------------------------------------------- nsAppShell::~nsAppShell() { - NS_IF_RELEASE(mSelectionMgr); + } //------------------------------------------------------------------------- @@ -262,10 +261,6 @@ NS_METHOD nsAppShell::EventIsForModalWindow(PRBool aRealEvent, void *aEvent, NS_METHOD nsAppShell::GetSelectionMgr(nsISelectionMgr** aSelectionMgr) { - *aSelectionMgr = mSelectionMgr; - NS_IF_ADDREF(mSelectionMgr); - if (!mSelectionMgr) - return NS_ERROR_NOT_INITIALIZED; return NS_OK; }