diff --git a/widget/src/xlib/nsWidget.cpp b/widget/src/xlib/nsWidget.cpp index 8dea8516f7d..df9b195e946 100644 --- a/widget/src/xlib/nsWidget.cpp +++ b/widget/src/xlib/nsWidget.cpp @@ -333,11 +333,6 @@ void * nsWidget::GetNativeData(PRUint32 aDataType) } } -NS_IMETHODIMP nsWidget::SetTitle(const nsString& aTitle) -{ - return NS_OK; -} - NS_IMETHODIMP nsWidget::SetTooltips(PRUint32 aNumberOfTips, nsRect* aTooltipAreas[]) { diff --git a/widget/src/xlib/nsWidget.h b/widget/src/xlib/nsWidget.h index 73d7e6f389e..47ce49c71fa 100644 --- a/widget/src/xlib/nsWidget.h +++ b/widget/src/xlib/nsWidget.h @@ -87,7 +87,6 @@ public: virtual void* GetNativeData(PRUint32 aDataType); NS_IMETHOD SetColorMap(nsColorMap *aColorMap); NS_IMETHOD Scroll(PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect); - NS_IMETHOD SetTitle(const nsString& aTitle); NS_IMETHOD SetMenuBar(nsIMenuBar * aMenuBar); NS_IMETHOD ShowMenuBar(PRBool aShow); NS_IMETHOD IsMenuBarVisible(PRBool *aVisible);