Mercurial > mplayer.hg
changeset 35623:46b3d0bb76e0
Make variables static that are only used inside the file.
Additionally, remove unnecessary initialization.
author | ib |
---|---|
date | Thu, 10 Jan 2013 10:00:43 +0000 |
parents | 59456592c6d1 |
children | ce4b3cbeb1d0 |
files | gui/dialog/dialog.c gui/dialog/dialog.h |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/dialog.c Thu Jan 10 09:52:50 2013 +0000 +++ b/gui/dialog/dialog.c Thu Jan 10 10:00:43 2013 +0000 @@ -48,14 +48,14 @@ #include "gui/ui/actions.h" #include "fileselect.h" -GtkWidget *PopUpMenu = NULL; +static GtkWidget *PopUpMenu; GtkWidget *WarningPixmap; GtkWidget *ErrorPixmap; int gtkPopupMenu = 0; int gtkPopupMenuParam = 0; -int gtkInitialized = False; +static int gtkInitialized; #include "skinbrowser.h" #include "playlist.h"