Commit 2c383bfc authored by Rémi Duraffort's avatar Rémi Duraffort

skins2: delete the callback only if it was really added.

parent a9d0016e
......@@ -115,11 +115,11 @@ Dialogs::~Dialogs()
// Detach the dialogs provider from its parent interface
module_unneed( m_pProvider, m_pModule );
vlc_object_release( m_pProvider );
}
/* Unregister callbacks */
var_DelCallback( getIntf()->p_libvlc, "intf-popupmenu",
PopupMenuCB, this );
/* Unregister callbacks */
var_DelCallback( getIntf()->p_libvlc, "intf-popupmenu",
PopupMenuCB, this );
}
}
......
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