[MPlayer-cvslog] r31811 - in trunk/libvo: vo_corevideo.h vo_corevideo.m

reimar subversion at mplayerhq.hu
Sun Jul 25 14:25:05 CEST 2010


Author: reimar
Date: Sun Jul 25 14:25:05 2010
New Revision: 31811

Log:
Remove kQuitCmd, it has no purpose or effect at all.

Modified:
   trunk/libvo/vo_corevideo.h
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.h
==============================================================================
--- trunk/libvo/vo_corevideo.h	Sun Jul 25 14:22:02 2010	(r31810)
+++ trunk/libvo/vo_corevideo.h	Sun Jul 25 14:25:05 2010	(r31811)
@@ -56,7 +56,6 @@
 	BOOL mouseHide;
 
 	//menu command id
-	NSMenuItem *kQuitCmd;
 	NSMenuItem *kHalfScreenCmd;
 	NSMenuItem *kNormalScreenCmd;
 	NSMenuItem *kDoubleScreenCmd;

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Sun Jul 25 14:22:02 2010	(r31810)
+++ trunk/libvo/vo_corevideo.m	Sun Jul 25 14:25:05 2010	(r31811)
@@ -616,11 +616,6 @@ static int control(uint32_t request, voi
  */
 - (void)menuAction:(id)sender
 {
-	if(sender == kQuitCmd)
-	{
-		mplayer_put_key(KEY_CLOSE_WIN);
-	}
-
 	if(sender == kHalfScreenCmd)
 		[self set_winSizeMult: 0.5];
 	if(sender == kNormalScreenCmd)


More information about the MPlayer-cvslog mailing list