diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-06-26 13:26:11 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-06-26 13:26:11 +0000 |
commit | 662419c0f86e774be1ca0c42adb7a572d68918a3 (patch) | |
tree | c6c67868a519fc8a2008755bdca631048398ccc2 /Gui/mplayer/gtk | |
parent | b3b303c6c2460b12a200316a99fa748c16cbdbd0 (diff) |
Fix GUI compilation, patch by Reimar Döffinger and Alexander Strasser.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12692 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/gtk')
-rw-r--r-- | Gui/mplayer/gtk/menu.c | 4 | ||||
-rw-r--r-- | Gui/mplayer/gtk/opts.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Gui/mplayer/gtk/menu.c b/Gui/mplayer/gtk/menu.c index d03a63b47b..9f5433665d 100644 --- a/Gui/mplayer/gtk/menu.c +++ b/Gui/mplayer/gtk/menu.c @@ -17,6 +17,8 @@ #include "../../../libmpdemux/stream.h" #include "../../../libmpdemux/demuxer.h" +extern mixer_t mixer; // mixer from mplayer.c + void ActivateMenuItem( int Item ) { // fprintf( stderr,"[menu] item: %d.%d\n",Item&0xffff,Item>>16 ); @@ -462,7 +464,7 @@ GtkWidget * create_PopUpMenu( void ) } AddSeparator( Menu ); - MenuItem=AddMenuCheckItem( Menu,MSGTR_MENU_Mute,muted,evMute ); + MenuItem=AddMenuCheckItem( Menu,MSGTR_MENU_Mute,mixer.muted,evMute ); if ( !guiIntfStruct.AudioType ) gtk_widget_set_sensitive( MenuItem,FALSE ); AddMenuItem( Menu,MSGTR_MENU_PlayList, evPlayList ); AddMenuItem( Menu,MSGTR_MENU_SkinBrowser, evSkinBrowser ); diff --git a/Gui/mplayer/gtk/opts.c b/Gui/mplayer/gtk/opts.c index 0e5ee5dce4..588915ea77 100644 --- a/Gui/mplayer/gtk/opts.c +++ b/Gui/mplayer/gtk/opts.c @@ -171,7 +171,6 @@ static void prCListRow( GtkCList * clist,gint row,gint column,GdkEvent * event,g static void prEntry( GtkContainer * container,gpointer user_data ); #endif -extern int muted; extern int stop_xscreensaver; void ShowPreferences( void ) |