Zebediah Figura : strmbase: Get rid of the unused BaseWindowImpl_GetDefaultRect() function.

Alexandre Julliard julliard at winehq.org
Wed Oct 16 16:59:29 CDT 2019


Module: wine
Branch: master
Commit: 0854f67d0936ecc09082e19e10e53a5ab455dc4f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0854f67d0936ecc09082e19e10e53a5ab455dc4f

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Oct 15 16:00:16 2019 -0500

strmbase: Get rid of the unused BaseWindowImpl_GetDefaultRect() function.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 7f4dd40248..a7c2201c64 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 de5c875105..518db8de3f 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);
 




More information about the wine-cvs mailing list