diff options
author | 2002-05-28 11:55:17 +0000 | |
---|---|---|
committer | 2002-05-28 11:55:17 +0000 | |
commit | d2a4ecd87009f2c301382847a9c7785467af6938 (patch) | |
tree | 9030304d76f00ea7423edadb2412fe17bad34383 /Gui/mplayer/widgets.c | |
parent | 2eee0cefb01b149c86d2ca58df69c3f29c3af971 (diff) |
fix text render chrash ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6219 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/widgets.c')
-rw-r--r-- | Gui/mplayer/widgets.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Gui/mplayer/widgets.c b/Gui/mplayer/widgets.c index 75ff8c4ed8..c2930978e2 100644 --- a/Gui/mplayer/widgets.c +++ b/Gui/mplayer/widgets.c @@ -48,11 +48,14 @@ int gtkInited = 0; // --- init & close gtk -void gtkInit( int argc,char* argv[], char *envp[] ) +void gtkInit( void ) { + int largc = 1; + char * largv[1] = { "asd" }; mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"[widget] init gtk ...\n" ); gtk_set_locale(); - gtk_init( &argc,&argv ); +// gtk_init( &argc,&argv ); + gtk_init( 0,NULL ); // gdk_set_use_xshm( TRUE ); gtkInited=1; |