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

ib subversion at mplayerhq.hu
Thu Jan 10 11:00:43 CET 2013


Author: ib
Date: Thu Jan 10 11:00:43 2013
New Revision: 35717

Log:
Make variables static that are only used inside the file.

Additionally, remove unnecessary initialization.

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

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Thu Jan 10 10:52:50 2013	(r35716)
+++ trunk/gui/dialog/dialog.c	Thu Jan 10 11:00:43 2013	(r35717)
@@ -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"

Modified: trunk/gui/dialog/dialog.h
==============================================================================
--- trunk/gui/dialog/dialog.h	Thu Jan 10 10:52:50 2013	(r35716)
+++ trunk/gui/dialog/dialog.h	Thu Jan 10 11:00:43 2013	(r35717)
@@ -38,7 +38,6 @@
 
 extern GtkWidget *PlayList;
 extern GtkWidget *Options;
-extern GtkWidget *PopUpMenu;
 
 extern GtkWidget *WarningPixmap;
 extern GtkWidget *ErrorPixmap;


More information about the MPlayer-cvslog mailing list