Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
51544425
Commit
51544425
authored
Jan 13, 2011
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: better cleanup for button and checkbox
parent
f54769eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
modules/gui/skins2/controls/ctrl_button.cpp
modules/gui/skins2/controls/ctrl_button.cpp
+5
-0
modules/gui/skins2/controls/ctrl_checkbox.cpp
modules/gui/skins2/controls/ctrl_checkbox.cpp
+5
-0
No files found.
modules/gui/skins2/controls/ctrl_button.cpp
View file @
51544425
...
...
@@ -79,6 +79,11 @@ CtrlButton::CtrlButton( intf_thread_t *pIntf, const GenericBitmap &rBmpUp,
CtrlButton
::~
CtrlButton
()
{
if
(
m_pImg
)
{
m_pImg
->
stopAnim
();
m_pImg
->
delObserver
(
this
);
}
}
void
CtrlButton
::
setLayout
(
GenericLayout
*
pLayout
,
...
...
modules/gui/skins2/controls/ctrl_checkbox.cpp
View file @
51544425
...
...
@@ -111,6 +111,11 @@ CtrlCheckbox::CtrlCheckbox( intf_thread_t *pIntf,
CtrlCheckbox
::~
CtrlCheckbox
()
{
if
(
m_pImgCurrent
)
{
m_pImgCurrent
->
stopAnim
();
m_pImgCurrent
->
delObserver
(
this
);
}
m_rVariable
.
delObserver
(
this
);
}
...
...
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