summaryrefslogtreecommitdiffstats
path: root/Gui/app.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-23 15:12:55 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-23 15:12:55 +0000
commitc090d0da98cfc613b7b9b7227dd505735df224a6 (patch)
tree0e27f5b57f9efcde040f3b8381544468612f47d6 /Gui/app.c
parent469f2d1b7e6c2251cbc9418b111f5bc700c7a262 (diff)
downloadmpv-c090d0da98cfc613b7b9b7227dd505735df224a6.tar.bz2
mpv-c090d0da98cfc613b7b9b7227dd505735df224a6.tar.xz
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4819 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/app.c')
-rw-r--r--Gui/app.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Gui/app.c b/Gui/app.c
index f9161a5bac..c3535f2fc1 100644
--- a/Gui/app.c
+++ b/Gui/app.c
@@ -8,7 +8,6 @@
#include "../help_mp.h"
#include "app.h"
-#include "error.h"
#include "wm/wskeys.h"
#include "skin/skin.h"
#include "mplayer/mplayer.h"
@@ -106,10 +105,9 @@ void appInit( int argc,char* argv[], char *envp[], void* disp )
printf("SKIN dir 2: '%s'\n",skinMPlayerDir);
if ( !skinName )
{
- if ( ( skinName=(char *)calloc( 1,7 ) ) == NULL ) { dbprintf( 0,"[config] Not enough memory.\n" ); exit( 1 ); }
+ if ( ( skinName=(char *)calloc( 1,7 ) ) == NULL ) { mp_msg( MSGT_GPLAYER,MSGL_STATUS,"[config] Not enough memory.\n" ); exit( 1 ); }
strcpy( skinName,"default" );
}
- initDebug(NULL); // write messages to stderr
switch ( skinRead( skinName ) )
{
case -1: mp_msg( MSGT_GPLAYER,MSGL_ERR,MSGTR_SKIN_SKINCFG_SkinNotFound,skinName ); exit( 0 );