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; }