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;
- (NSView *)showView:(NSScrollView *)o_prefs_view
advancedView:(vlc_bool_t) b_advanced
{
fprintf( stderr, "[%s] showView\n", [o_name UTF8String] );
NSRect s_vrc;
NSView *o_view;
......@@ -505,22 +504,16 @@ fprintf( stderr, "[%s] showView\n", [o_name UTF8String] );
switch(p_item->i_type)
{
case CONFIG_SUBCATEGORY:
fprintf( stderr, "drawing subcategory %s\n", [o_name UTF8String] );
break;
case CONFIG_SECTION:
fprintf( stderr, "drawing section %s\n", p_item->psz_text );
break;
case CONFIG_CATEGORY:
fprintf( stderr, "drawing category %s\n", [o_name UTF8String] );
break;
case CONFIG_HINT_END:
fprintf( stderr, "end of (sub)category\n" );
break;
case CONFIG_HINT_USAGE:
fprintf( stderr, "skipping hint usage\n" );
break;
default:
fprintf( stderr, "%s (%d)", p_item->psz_name, p_item->i_type );
{
VLCConfigControl *o_control = nil;
o_control = [VLCConfigControl newControl:p_item
......@@ -531,7 +524,6 @@ fprintf( stderr, "%s (%d)", p_item->psz_name, p_item->i_type );
NSViewWidthSizable];
[o_subviews addObject: o_control];
}
fprintf( stderr, "\n" );
}
break;
}
......@@ -578,22 +570,16 @@ fprintf( stderr, "\n" );
switch(p_item->i_type)
{
case CONFIG_SUBCATEGORY:
fprintf( stderr, "drawing subcategory %s\n", [o_name UTF8String] );
break;
case CONFIG_SECTION:
fprintf( stderr, "drawing section %s\n", p_item->psz_text );
break;
case CONFIG_CATEGORY:
fprintf( stderr, "drawing category %s\n", [o_name UTF8String] );
break;
case CONFIG_HINT_END:
fprintf( stderr, "end of (sub)category\n" );
break;
case CONFIG_HINT_USAGE:
fprintf( stderr, "skipping hint usage\n" );
break;
default:
fprintf( stderr, "%s (%d)", p_item->psz_name, p_item->i_type );
{
VLCConfigControl *o_control = nil;
o_control = [VLCConfigControl newControl:p_item
......
......@@ -959,21 +959,17 @@ if( MACOS_VERSION >= 10.3 ) \
case CONFIG_ITEM_MODULE:
case CONFIG_ITEM_MODULE_LIST:
case CONFIG_ITEM_MODULE_LIST_CAT:
fprintf( stderr, "Applying %s to %s\n" , [self stringValue], psz_name );
config_PutPsz( VLCIntf, psz_name, [self stringValue] );
break;
case CONFIG_ITEM_KEY:
/* 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];
var_Set( VLCIntf->p_vlc, psz_name, val );
case CONFIG_ITEM_INTEGER:
case CONFIG_ITEM_BOOL:
fprintf( stderr, "Applying %d to %s\n" , [self intValue], psz_name );
config_PutInt( VLCIntf, psz_name, [self intValue] );
break;
case CONFIG_ITEM_FLOAT:
fprintf( stderr, "Applying %f to %s\n" , [self floatValue], psz_name );
config_PutFloat( VLCIntf, psz_name, [self floatValue] );
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