[MPlayer-cvslog] r33595 - in trunk/gui/mplayer: widgets.c widgets.h

ib subversion at mplayerhq.hu
Sun Jun 12 08:48:11 CEST 2011


Author: ib
Date: Sun Jun 12 08:48:10 2011
New Revision: 33595

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

There is no need to declare them extern.

Modified:
   trunk/gui/mplayer/widgets.c
   trunk/gui/mplayer/widgets.h

Modified: trunk/gui/mplayer/widgets.c
==============================================================================
--- trunk/gui/mplayer/widgets.c	Sun Jun 12 08:33:19 2011	(r33594)
+++ trunk/gui/mplayer/widgets.c	Sun Jun 12 08:48:10 2011	(r33595)
@@ -69,8 +69,8 @@ int gtkInitialized = 0;
 
 // --- init & close gtk
 
-GdkPixmap * gtkIcon;
-GdkBitmap * gtkIconMask;
+static GdkPixmap * gtkIcon;
+static GdkBitmap * gtkIconMask;
 Pixmap	    guiIcon;
 Pixmap	    guiIconMask;
 

Modified: trunk/gui/mplayer/widgets.h
==============================================================================
--- trunk/gui/mplayer/widgets.h	Sun Jun 12 08:33:19 2011	(r33594)
+++ trunk/gui/mplayer/widgets.h	Sun Jun 12 08:48:10 2011	(r33595)
@@ -53,8 +53,6 @@ extern int             gtkPopupMenuParam
 extern char          * sbMPlayerDirInHome;
 extern char          * sbMPlayerPrefixDir;
 
-extern GdkPixmap * gtkIcon;
-extern GdkBitmap * gtkIconMask;
 extern Pixmap      guiIcon;
 extern Pixmap	   guiIconMask;
 


More information about the MPlayer-cvslog mailing list