Francois Gouget : winemine: Remove AboutDlgProc() as it is unused.

Alexandre Julliard julliard at winehq.org
Wed Dec 31 07:45:11 CST 2008


Module: wine
Branch: master
Commit: 165650d89bee6b0af52066ae149eb173133c95d3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=165650d89bee6b0af52066ae149eb173133c95d3

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Dec 31 00:59:05 2008 +0100

winemine: Remove AboutDlgProc() as it is unused.

---

 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 */




More information about the wine-cvs mailing list