Commit 02456d7e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Skins: fix the popup-menu appearance on the video.

Patch by Erwan10, <brezhoneg1@yahoo.fr>, simplified by /me
parent b1338135
...@@ -120,7 +120,7 @@ Dialogs::~Dialogs() ...@@ -120,7 +120,7 @@ Dialogs::~Dialogs()
} }
/* Unregister callbacks */ /* Unregister callbacks */
var_DelCallback( getIntf()->p_sys->p_playlist, "intf-popupmenu", var_DelCallback( getIntf()->p_libvlc, "intf-popupmenu",
PopupMenuCB, this ); PopupMenuCB, this );
} }
...@@ -183,7 +183,7 @@ bool Dialogs::init() ...@@ -183,7 +183,7 @@ bool Dialogs::init()
} }
/* Register callback for the intf-popupmenu variable */ /* Register callback for the intf-popupmenu variable */
var_AddCallback( getIntf()->p_sys->p_playlist, "intf-popupmenu", var_AddCallback( getIntf()->p_libvlc, "intf-popupmenu",
PopupMenuCB, this ); PopupMenuCB, this );
return true; return true;
......
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