[MPlayer-cvslog] r36122 - in trunk/gui/dialog: menu.c menu.h

ib subversion at mplayerhq.hu
Mon Apr 1 00:28:22 CEST 2013


Author: ib
Date: Mon Apr  1 00:28:22 2013
New Revision: 36122

Log:
Make variable DVDSubMenu static.

It only has file scope and doesn't need to be declared extern.

Modified:
   trunk/gui/dialog/menu.c
   trunk/gui/dialog/menu.h

Modified: trunk/gui/dialog/menu.c
==============================================================================
--- trunk/gui/dialog/menu.c	Mon Apr  1 00:22:08 2013	(r36121)
+++ trunk/gui/dialog/menu.c	Mon Apr  1 00:28:22 2013	(r36122)
@@ -402,7 +402,7 @@ static const char * GetLanguage( int lan
 #endif
 
 
-GtkWidget * DVDSubMenu;
+static GtkWidget * DVDSubMenu;
 GtkWidget * DVDTitleMenu;
 GtkWidget * DVDChapterMenu;
 GtkWidget * DVDAudioLanguageMenu;

Modified: trunk/gui/dialog/menu.h
==============================================================================
--- trunk/gui/dialog/menu.h	Mon Apr  1 00:22:08 2013	(r36121)
+++ trunk/gui/dialog/menu.h	Mon Apr  1 00:28:22 2013	(r36122)
@@ -21,8 +21,6 @@
 
 #include <gtk/gtk.h>
 
-extern GtkWidget * DVDSubMenu;
-
 GtkWidget * AddMenuItem( GtkWidget *window1, const char * immagine_xpm, GtkWidget * SubMenu, const char * label, int Number );
 GtkWidget * AddSubMenu( GtkWidget *window1, const char * immagine_xpm, GtkWidget * Menu, const char * label );
 GtkWidget * AddSeparator( GtkWidget * Menu );


More information about the MPlayer-cvslog mailing list