[vlc-devel] commit: Removed unused pf_wndproc (msw). (Laurent Aimar )

git version control git at videolan.org
Mon Sep 28 20:56:57 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Sep 28 20:50:27 2009 +0200| [c4508cad861cfd260237386085782e944260be47] | committer: Laurent Aimar 

Removed unused pf_wndproc (msw).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4508cad861cfd260237386085782e944260be47
---

 modules/video_output/msw/events.c |    3 ---
 modules/video_output/msw/vout.h   |    1 -
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index c7c1584..6702835 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -455,9 +455,6 @@ static int DirectXCreateWindow( vout_thread_t *p_vout )
     }
     #endif
 
-    /* We create the window ourself, there is no previous window proc. */
-    p_vout->p_sys->pf_wndproc = NULL;
-
     /* Get the Icon from the main app */
     vlc_icon = NULL;
 #ifndef UNDER_CE
diff --git a/modules/video_output/msw/vout.h b/modules/video_output/msw/vout.h
index 0699b8a..3697c03 100644
--- a/modules/video_output/msw/vout.h
+++ b/modules/video_output/msw/vout.h
@@ -93,7 +93,6 @@ struct vout_sys_t
     struct vout_window_t *parent_window;         /* Parent window VLC object */
     HWND                 hparent;             /* Handle of the parent window */
     HWND                 hfswnd;          /* Handle of the fullscreen window */
-    WNDPROC              pf_wndproc;             /* Window handling callback */
 
     /* Multi-monitor support */
     HMONITOR             hmonitor;          /* handle of the current monitor */




More information about the vlc-devel mailing list