Mercurial > mplayer.hg
changeset 33951:2c26c2f2136e
Remove pointless condition.
Rather than gtkShowVideoWindow, guiInfo.VideoWindow must be checked
which has already been assured a few lines above.
author | ib |
---|---|
date | Thu, 01 Sep 2011 18:07:59 +0000 |
parents | bb35e74851cd |
children | 75b858ef3666 |
files | gui/ui/gtk/menu.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/menu.c Thu Sep 01 17:57:15 2011 +0000 +++ b/gui/ui/gtk/menu.c Thu Sep 01 18:07:59 2011 +0000 @@ -633,7 +633,7 @@ N=AddMenuCheckItem( window1, (const char*)normal_xpm, Menu,MSGTR_MENU_NormalSize" ",b1,evNormalSize ); D=AddMenuCheckItem( window1, (const char*)double_xpm, Menu,MSGTR_MENU_DoubleSize,b2,evDoubleSize ); F=AddMenuCheckItem( window1, (const char*)full_xpm, Menu,MSGTR_MENU_FullScreen,guiApp.subWindow.isFullScreen,evFullScreen ); - if ( !gtkShowVideoWindow && !guiInfo.Playing ) + if ( !guiInfo.Playing ) { gtk_widget_set_sensitive( H,FALSE ); gtk_widget_set_sensitive( N,FALSE );