[vlc-devel] commit: wxwidgets: Comments cleanup for previous commit. (Pierre d' Herbemont )

git version control git at videolan.org
Sat Apr 12 20:10:42 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Apr 12 20:05:29 2008 +0200| [a91d3a7843e8c61efc8d587d13ca4181a9492361]

wxwidgets: Comments cleanup for previous commit.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a91d3a7843e8c61efc8d587d13ca4181a9492361
---

 modules/gui/wxwidgets/interface.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/wxwidgets/interface.cpp b/modules/gui/wxwidgets/interface.cpp
index f3135e6..463da70 100644
--- a/modules/gui/wxwidgets/interface.cpp
+++ b/modules/gui/wxwidgets/interface.cpp
@@ -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();




More information about the vlc-devel mailing list