Commit d50eaf24 authored by Jérome Decoodt's avatar Jérome Decoodt

*: remove fprintf debug messages

parent 83636730
...@@ -462,7 +462,6 @@ static VLCTreeItem *o_root_item = nil; ...@@ -462,7 +462,6 @@ static VLCTreeItem *o_root_item = nil;
- (NSView *)showView:(NSScrollView *)o_prefs_view - (NSView *)showView:(NSScrollView *)o_prefs_view
advancedView:(vlc_bool_t) b_advanced advancedView:(vlc_bool_t) b_advanced
{ {
fprintf( stderr, "[%s] showView\n", [o_name UTF8String] );
NSRect s_vrc; NSRect s_vrc;
NSView *o_view; NSView *o_view;
...@@ -505,22 +504,16 @@ fprintf( stderr, "[%s] showView\n", [o_name UTF8String] ); ...@@ -505,22 +504,16 @@ fprintf( stderr, "[%s] showView\n", [o_name UTF8String] );
switch(p_item->i_type) switch(p_item->i_type)
{ {
case CONFIG_SUBCATEGORY: case CONFIG_SUBCATEGORY:
fprintf( stderr, "drawing subcategory %s\n", [o_name UTF8String] );
break; break;
case CONFIG_SECTION: case CONFIG_SECTION:
fprintf( stderr, "drawing section %s\n", p_item->psz_text );
break; break;
case CONFIG_CATEGORY: case CONFIG_CATEGORY:
fprintf( stderr, "drawing category %s\n", [o_name UTF8String] );
break; break;
case CONFIG_HINT_END: case CONFIG_HINT_END:
fprintf( stderr, "end of (sub)category\n" );
break; break;
case CONFIG_HINT_USAGE: case CONFIG_HINT_USAGE:
fprintf( stderr, "skipping hint usage\n" );
break; break;
default: default:
fprintf( stderr, "%s (%d)", p_item->psz_name, p_item->i_type );
{ {
VLCConfigControl *o_control = nil; VLCConfigControl *o_control = nil;
o_control = [VLCConfigControl newControl:p_item o_control = [VLCConfigControl newControl:p_item
...@@ -531,7 +524,6 @@ fprintf( stderr, "%s (%d)", p_item->psz_name, p_item->i_type ); ...@@ -531,7 +524,6 @@ fprintf( stderr, "%s (%d)", p_item->psz_name, p_item->i_type );
NSViewWidthSizable]; NSViewWidthSizable];
[o_subviews addObject: o_control]; [o_subviews addObject: o_control];
} }
fprintf( stderr, "\n" );
} }
break; break;
} }
...@@ -578,22 +570,16 @@ fprintf( stderr, "\n" ); ...@@ -578,22 +570,16 @@ fprintf( stderr, "\n" );
switch(p_item->i_type) switch(p_item->i_type)
{ {
case CONFIG_SUBCATEGORY: case CONFIG_SUBCATEGORY:
fprintf( stderr, "drawing subcategory %s\n", [o_name UTF8String] );
break; break;
case CONFIG_SECTION: case CONFIG_SECTION:
fprintf( stderr, "drawing section %s\n", p_item->psz_text );
break; break;
case CONFIG_CATEGORY: case CONFIG_CATEGORY:
fprintf( stderr, "drawing category %s\n", [o_name UTF8String] );
break; break;
case CONFIG_HINT_END: case CONFIG_HINT_END:
fprintf( stderr, "end of (sub)category\n" );
break; break;
case CONFIG_HINT_USAGE: case CONFIG_HINT_USAGE:
fprintf( stderr, "skipping hint usage\n" );
break; break;
default: default:
fprintf( stderr, "%s (%d)", p_item->psz_name, p_item->i_type );
{ {
VLCConfigControl *o_control = nil; VLCConfigControl *o_control = nil;
o_control = [VLCConfigControl newControl:p_item o_control = [VLCConfigControl newControl:p_item
......
...@@ -959,21 +959,17 @@ if( MACOS_VERSION >= 10.3 ) \ ...@@ -959,21 +959,17 @@ if( MACOS_VERSION >= 10.3 ) \
case CONFIG_ITEM_MODULE: case CONFIG_ITEM_MODULE:
case CONFIG_ITEM_MODULE_LIST: case CONFIG_ITEM_MODULE_LIST:
case CONFIG_ITEM_MODULE_LIST_CAT: case CONFIG_ITEM_MODULE_LIST_CAT:
fprintf( stderr, "Applying %s to %s\n" , [self stringValue], psz_name );
config_PutPsz( VLCIntf, psz_name, [self stringValue] ); config_PutPsz( VLCIntf, psz_name, [self stringValue] );
break; break;
case CONFIG_ITEM_KEY: case CONFIG_ITEM_KEY:
/* So you don't need to restart to have the changes take effect */ /* So you don't need to restart to have the changes take effect */
fprintf( stderr, "Applying %d to %s\n" , [self intValue], psz_name );
val.i_int = [self intValue]; val.i_int = [self intValue];
var_Set( VLCIntf->p_vlc, psz_name, val ); var_Set( VLCIntf->p_vlc, psz_name, val );
case CONFIG_ITEM_INTEGER: case CONFIG_ITEM_INTEGER:
case CONFIG_ITEM_BOOL: case CONFIG_ITEM_BOOL:
fprintf( stderr, "Applying %d to %s\n" , [self intValue], psz_name );
config_PutInt( VLCIntf, psz_name, [self intValue] ); config_PutInt( VLCIntf, psz_name, [self intValue] );
break; break;
case CONFIG_ITEM_FLOAT: case CONFIG_ITEM_FLOAT:
fprintf( stderr, "Applying %f to %s\n" , [self floatValue], psz_name );
config_PutFloat( VLCIntf, psz_name, [self floatValue] ); config_PutFloat( VLCIntf, psz_name, [self floatValue] );
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment