[PATCH 1/5] strmbase: Get rid of the unused BaseWindowImpl_GetDefaultRect() function.

Zebediah Figura z.figura12 at gmail.com
Tue Oct 15 16:00:16 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/strmbase/window.c  | 6 ------
 include/wine/strmbase.h | 1 -
 2 files changed, 7 deletions(-)

diff --git a/dlls/strmbase/window.c b/dlls/strmbase/window.c
index 7f4dd402484..a7c2201c64e 100644
--- a/dlls/strmbase/window.c
+++ b/dlls/strmbase/window.c
@@ -147,12 +147,6 @@ HRESULT WINAPI BaseWindowImpl_DoneWithWindow(BaseWindow *This)
     return S_OK;
 }
 
-RECT WINAPI BaseWindowImpl_GetDefaultRect(BaseWindow *This)
-{
-    static RECT defRect = {0, 0, 800, 600};
-    return defRect;
-}
-
 BOOL WINAPI BaseControlWindowImpl_PossiblyEatMessage(BaseWindow *This, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
     BaseControlWindow* pControlWindow = impl_from_BaseWindow(This);
diff --git a/include/wine/strmbase.h b/include/wine/strmbase.h
index de5c875105a..518db8de3f3 100644
--- a/include/wine/strmbase.h
+++ b/include/wine/strmbase.h
@@ -391,7 +391,6 @@ HRESULT WINAPI BaseWindow_Destroy(BaseWindow *pBaseWindow);
 
 HRESULT WINAPI BaseWindowImpl_PrepareWindow(BaseWindow *This);
 HRESULT WINAPI BaseWindowImpl_DoneWithWindow(BaseWindow *This);
-RECT WINAPI BaseWindowImpl_GetDefaultRect(BaseWindow *This);
 LRESULT WINAPI BaseWindowImpl_OnReceiveMessage(BaseWindow *This, HWND hwnd, INT uMsg, WPARAM wParam, LPARAM lParam);
 BOOL WINAPI BaseWindowImpl_OnSize(BaseWindow *This, LONG Height, LONG Width);
 
-- 
2.23.0




More information about the wine-devel mailing list