diff options
author | 2001-12-12 21:47:44 +0000 | |
---|---|---|
committer | 2001-12-12 21:47:44 +0000 | |
commit | 5809ae86645be9747e0969854475657ba2a88b7d (patch) | |
tree | a043673f0644d0960d2e9fb5b8871768b8c9e919 /Gui/mplayer/widgets.c | |
parent | 3eba4f11b1c52baa01a71bb2eac05f12a212b84d (diff) |
gtk suid bug fix(?)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3475 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/widgets.c')
-rw-r--r-- | Gui/mplayer/widgets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Gui/mplayer/widgets.c b/Gui/mplayer/widgets.c index 0115a85442..e945761356 100644 --- a/Gui/mplayer/widgets.c +++ b/Gui/mplayer/widgets.c @@ -68,6 +68,10 @@ static void gtkThreadProc( int argc,char * argv[] ) { struct sigaction sa; + #ifdef HAVE_RTC + setuid( getuid() ); // strongly test, please check this. + #endif + gtk_set_locale(); gtk_init( &argc,&argv ); gdk_set_use_xshm( TRUE ); |