Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d50eaf24
Commit
d50eaf24
authored
May 11, 2005
by
Jérome Decoodt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*: remove fprintf debug messages
parent
83636730
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
modules/gui/macosx/prefs.m
modules/gui/macosx/prefs.m
+0
-14
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/prefs_widgets.m
+0
-4
No files found.
modules/gui/macosx/prefs.m
View file @
d50eaf24
...
@@ -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
...
...
modules/gui/macosx/prefs_widgets.m
View file @
d50eaf24
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment