[vlc-commits] macosx: replaced a few NSLog which sneaked in this summer

Felix Paul Kühne git at videolan.org
Sat Nov 19 22:14:31 CET 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Nov 19 22:14:21 2011 +0100| [db4566e1d7d377103699f93e046a06ed2fc23757] | committer: Felix Paul Kühne

macosx: replaced a few NSLog which sneaked in this summer

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

 modules/gui/macosx/intf.m          |   10 ++++------
 modules/gui/macosx/prefs_widgets.m |    2 +-
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index feb4294..c541ca8 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -154,18 +154,17 @@ static int WindowControl( vout_window_t *p_wnd, int i_query, va_list args )
 {
     /* TODO */
     if( i_query == VOUT_WINDOW_SET_STATE )
-        NSLog( @"WindowControl:VOUT_WINDOW_SET_STATE" );
+        msg_Dbg( p_wnd, "WindowControl:VOUT_WINDOW_SET_STATE" );
     else if( i_query == VOUT_WINDOW_SET_SIZE )
     {
-        NSLog( @"WindowControl:VOUT_WINDOW_SET_SIZE" );
         unsigned int i_width  = va_arg( args, unsigned int );
         unsigned int i_height = va_arg( args, unsigned int );
         [[VLCMain sharedInstance] setNativeVideoSize:NSMakeSize( i_width, i_height )];
     }
     else if( i_query == VOUT_WINDOW_SET_FULLSCREEN )
-        NSLog( @"WindowControl:VOUT_WINDOW_SET_FULLSCREEN" );
+        msg_Dbg( p_wnd, "WindowControl:VOUT_WINDOW_SET_FULLSCREEN" );
     else
-        NSLog( @"WindowControl: unknown query" );
+        msg_Dbg( p_wnd, "WindowControl: unknown query" );
     return VLC_SUCCESS;
 }
 
@@ -173,8 +172,7 @@ void WindowClose( vout_window_t *p_wnd )
 {
     NSAutoreleasePool *o_pool = [[NSAutoreleasePool alloc] init];
     [[VLCMain sharedInstance] setActiveVideoPlayback:NO];
-    NSLog( @"Window Close" );
-    // tell the interface to get rid of the video, TODO
+
     [o_pool release];
 }
 
diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m
index c1ed074..979c5b8 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -2332,7 +2332,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain];       \
 -(void)resetValues
 {
 #warning Reset prefs of the module selector is broken atm. 
-    NSLog( @"don't forget about modulelistconfig" );
+    msg_Err( VLCIntf, "don't forget about modulelistconfig" );
     [super resetValues];
 }
 



More information about the vlc-commits mailing list