]> git.sesse.net Git - vlc/commitdiff
macosx: replaced a few NSLog which sneaked in this summer
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 19 Nov 2011 21:14:21 +0000 (22:14 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 19 Nov 2011 21:14:30 +0000 (22:14 +0100)
modules/gui/macosx/intf.m
modules/gui/macosx/prefs_widgets.m

index feb429418573d4217ae094468b7e1866f31f926c..c541ca8837d4802aa7d1c80a9a13cb2dcb1ca5ca 100644 (file)
@@ -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];
 }
 
index c1ed0741d1288a092fb98c7723db905a10c4f7c8..979c5b88412f6f5ddc7d8e1b7373ec3710a4fb08 100644 (file)
@@ -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];
 }