winemine: Remove AboutDlgProc() as it is unused.

Francois Gouget fgouget at free.fr
Tue Dec 30 17:59:05 CST 2008


---

As far as I can see this patch is independent from the next one.

 programs/winemine/dialog.c |   18 ------------------
 programs/winemine/main.h   |    1 -
 2 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/programs/winemine/dialog.c b/programs/winemine/dialog.c
index fb7efb2..dc4ab34 100644
--- a/programs/winemine/dialog.c
+++ b/programs/winemine/dialog.c
@@ -114,21 +114,3 @@ INT_PTR CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
     }
     return FALSE;
 }
-
-INT_PTR CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam )
-{
-    switch( uMsg ) {
-    case WM_INITDIALOG:
-        return TRUE;
-
-    case WM_COMMAND:
-        switch( LOWORD( wParam ) ) {
-        case IDOK:
-        case IDCANCEL:
-            EndDialog( hDlg, 0 );
-            return TRUE;
-        }
-        break;
-    }
-    return FALSE;
-}
diff --git a/programs/winemine/main.h b/programs/winemine/main.h
index a813c95..e9febfc 100644
--- a/programs/winemine/main.h
+++ b/programs/winemine/main.h
@@ -178,6 +178,5 @@ INT_PTR CALLBACK CongratsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lP
 
 INT_PTR CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
 
-INT_PTR CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
 
 /* end of header */
-- 
1.5.6.5




More information about the wine-patches mailing list