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
3886a791
Commit
3886a791
authored
Aug 15, 2006
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/src/skin_main.cpp: Fixed a crash in the preferences, reported by Trax
parent
62f073c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
18 deletions
+26
-18
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/skin_main.cpp
+26
-18
No files found.
modules/gui/skins2/src/skin_main.cpp
View file @
3886a791
...
...
@@ -365,6 +365,9 @@ static int onSystrayChange( vlc_object_t *pObj, const char *pVariable,
return
VLC_EGENERIC
;
}
// Check that we found the correct interface (same check as for the demux)
if
(
var_Type
(
pIntf
,
"skin-to-load"
)
==
VLC_VAR_STRING
)
{
AsyncQueue
*
pQueue
=
AsyncQueue
::
instance
(
pIntf
);
if
(
newVal
.
b_bool
)
{
...
...
@@ -376,6 +379,7 @@ static int onSystrayChange( vlc_object_t *pObj, const char *pVariable,
CmdRemoveFromTray
*
pCmd
=
new
CmdRemoveFromTray
(
pIntf
);
pQueue
->
push
(
CmdGenericPtr
(
pCmd
)
);
}
}
vlc_object_release
(
pIntf
);
return
VLC_SUCCESS
;
...
...
@@ -395,6 +399,9 @@ static int onTaskBarChange( vlc_object_t *pObj, const char *pVariable,
return
VLC_EGENERIC
;
}
// Check that we found the correct interface (same check as for the demux)
if
(
var_Type
(
pIntf
,
"skin-to-load"
)
==
VLC_VAR_STRING
)
{
AsyncQueue
*
pQueue
=
AsyncQueue
::
instance
(
pIntf
);
if
(
newVal
.
b_bool
)
{
...
...
@@ -406,6 +413,7 @@ static int onTaskBarChange( vlc_object_t *pObj, const char *pVariable,
CmdRemoveFromTaskBar
*
pCmd
=
new
CmdRemoveFromTaskBar
(
pIntf
);
pQueue
->
push
(
CmdGenericPtr
(
pCmd
)
);
}
}
vlc_object_release
(
pIntf
);
return
VLC_SUCCESS
;
...
...
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