]> git.sesse.net Git - vlc/commitdiff
wxwidgets: Comments cleanup for previous commit.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Apr 2008 18:05:29 +0000 (20:05 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Apr 2008 18:11:27 +0000 (20:11 +0200)
modules/gui/wxwidgets/interface.cpp

index f3135e65dc005744a4cc0e1565ce093392cc9608..463da706e782989559ba33abaf5c5604dd1c7a8d 100644 (file)
@@ -517,7 +517,6 @@ void Interface::Init()
 void Interface::Update()
 {
     /* Misc updates */
-//    if( !(i_update_counter % 10) ) ((VLCVolCtrl *)volctrl)->UpdateVolume();
 
     if( playlist_manager ) playlist_manager->Update();
 
@@ -1223,8 +1222,8 @@ void Interface::SyncVolume()
     audio_volume_t i_volume;
     aout_VolumeGet(p_intf, &i_volume);
 
-// Updating the Mute Button... IF the slider is completely moved to the left,
-// the mute icon is shown too.
+    /* Updating the Mute Button... IF the slider is completely moved to the left,
+     * the mute icon is shown too. */
     p_tool->SetNormalBitmap( wxBitmap( i_volume ? speaker_xpm : speaker_mute_xpm ) );
     GetToolBar()->Realize();
 #if defined( __WXMSW__ )
@@ -1233,7 +1232,8 @@ void Interface::SyncVolume()
                            GetToolBar()->GetSize().GetHeight() );
     GetToolBar()->Update();
 #endif
-// the Toggle to true and false is nescessary; otherwise, the Icon is not repainted
+    /* the Toggle to true and false is nescessary; otherwise, the Icon
+     * is not repainted */
     GetToolBar()->ToggleTool( ToggleMute_Event, true );
     GetToolBar()->ToggleTool( ToggleMute_Event, false );
     GetToolBar()->Update();