[MPlayer-cvslog] r34039 - trunk/gui/ui/gtk/menu.c

ib subversion at mplayerhq.hu
Thu Sep 1 20:07:59 CEST 2011


Author: ib
Date: Thu Sep  1 20:07:59 2011
New Revision: 34039

Log:
Remove pointless condition.

Rather than gtkShowVideoWindow, guiInfo.VideoWindow must be checked
which has already been assured a few lines above.

Modified:
   trunk/gui/ui/gtk/menu.c

Modified: trunk/gui/ui/gtk/menu.c
==============================================================================
--- trunk/gui/ui/gtk/menu.c	Thu Sep  1 19:57:15 2011	(r34038)
+++ trunk/gui/ui/gtk/menu.c	Thu Sep  1 20:07:59 2011	(r34039)
@@ -633,7 +633,7 @@ GtkWidget * create_PopUpMenu( void )
     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 );


More information about the MPlayer-cvslog mailing list