Mercurial > mplayer.hg
changeset 36028:8c62c9931075
Make variable DVDSubMenu static.
It only has file scope and doesn't need to be declared extern.
author | ib |
---|---|
date | Sun, 31 Mar 2013 22:28:22 +0000 |
parents | 454a23cf28c5 |
children | 49be954ad61a |
files | gui/dialog/menu.c gui/dialog/menu.h |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/menu.c Sun Mar 31 22:22:08 2013 +0000 +++ b/gui/dialog/menu.c Sun Mar 31 22:28:22 2013 +0000 @@ -402,7 +402,7 @@ #endif -GtkWidget * DVDSubMenu; +static GtkWidget * DVDSubMenu; GtkWidget * DVDTitleMenu; GtkWidget * DVDChapterMenu; GtkWidget * DVDAudioLanguageMenu;
--- a/gui/dialog/menu.h Sun Mar 31 22:22:08 2013 +0000 +++ b/gui/dialog/menu.h Sun Mar 31 22:28:22 2013 +0000 @@ -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 );