diff options
author | 2001-09-03 16:13:25 +0000 | |
---|---|---|
committer | 2001-09-03 16:13:25 +0000 | |
commit | f1c78ab01fefbf9a731c9ce5d25accacb2064f57 (patch) | |
tree | ebfcc23bfae586ce2574f9986a5cde35eb3661a3 /Gui/mplayer/widgets.c | |
parent | d1a03c49ba04a0609021271d48aeda6c83f453e2 (diff) |
Some changes to compile the GUI on solaris
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1851 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/widgets.c')
-rw-r--r-- | Gui/mplayer/widgets.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Gui/mplayer/widgets.c b/Gui/mplayer/widgets.c index c6e7716af2..0910a76775 100644 --- a/Gui/mplayer/widgets.c +++ b/Gui/mplayer/widgets.c @@ -63,6 +63,8 @@ void widgetsCreate( void ) static void gtkThreadProc( int argc,char * argv[] ) { + struct sigaction sa; + gtk_set_locale(); gtk_init( &argc,&argv ); gdk_set_use_xshm( TRUE ); @@ -71,7 +73,9 @@ static void gtkThreadProc( int argc,char * argv[] ) gtkPID=getppid(); - signal( SIGTYPE,gtkSigHandler ); + memset(&sa, 0, sizeof(sa)); + sa.sa_handler = gtkSigHandler; + sigaction( SIGTYPE, &sa, NULL ); gtkIsOk=True; gtkSendMessage( evGtkIsOk ); |