[MPlayer-cvslog] r33032 - in trunk/gui: app.c app.h interface.c

ib subversion at mplayerhq.hu
Sun Mar 6 13:21:52 CET 2011


Author: ib
Date: Sun Mar  6 13:21:52 2011
New Revision: 33032

Log:
Cosmetic: Rename appResetStruct() appInitStruct().

After the old appInitStruct() got renamed, the more appropriate name
'appInitStruct' can be used now for the function that does initialization.

Modified:
   trunk/gui/app.c
   trunk/gui/app.h
   trunk/gui/interface.c

Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c	Sun Mar  6 12:55:52 2011	(r33031)
+++ trunk/gui/app.c	Sun Mar  6 13:21:52 2011	(r33032)
@@ -104,7 +104,7 @@ static void appClearItem(wItem *item)
     item->tmp       = 0;
 }
 
-void appResetStruct(void)
+void appInitStruct(void)
 {
     appMPlayer.IndexOfMainItems = -1;
     appMPlayer.IndexOfBarItems  = -1;
@@ -137,7 +137,7 @@ void appFreeStruct(void)
     for (i = 0; i <= appMPlayer.IndexOfMenuItems; i++)
         appClearItem(&appMPlayer.menuItems[i]);
 
-    appResetStruct();
+    appInitStruct();
     fntFreeFont();
 }
 

Modified: trunk/gui/app.h
==============================================================================
--- trunk/gui/app.h	Sun Mar  6 12:55:52 2011	(r33031)
+++ trunk/gui/app.h	Sun Mar  6 13:21:52 2011	(r33032)
@@ -194,7 +194,7 @@ extern guiItems appMPlayer;
 
 int appFindMessage(unsigned char *);
 void appFreeStruct(void);
-void appResetStruct(void);
+void appInitStruct(void);
 void btnModify(int, float);
 void btnSet(int, int);
 

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Sun Mar  6 12:55:52 2011	(r33031)
+++ trunk/gui/interface.c	Sun Mar  6 13:21:52 2011	(r33032)
@@ -163,7 +163,7 @@ void guiInit( void )
  guiIntfStruct.Balance=50.0f;
  guiIntfStruct.StreamType=-1;
 
- appResetStruct();
+ appInitStruct();
 
  memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) );
 #ifdef CONFIG_DXR3


More information about the MPlayer-cvslog mailing list