From: Jean-Baptiste Kempf Date: Mon, 16 Mar 2009 22:37:49 +0000 (+0100) Subject: Skins: fix the popup-menu appearance on the video. X-Git-Tag: 1.0.0-pre1~51 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=02456d7e33bb7d1b91e0c760ec35c0fdf5533c92;p=vlc Skins: fix the popup-menu appearance on the video. Patch by Erwan10, , simplified by /me --- diff --git a/modules/gui/skins2/src/dialogs.cpp b/modules/gui/skins2/src/dialogs.cpp index ee80de2a5a..98f34b8d9f 100644 --- a/modules/gui/skins2/src/dialogs.cpp +++ b/modules/gui/skins2/src/dialogs.cpp @@ -120,7 +120,7 @@ Dialogs::~Dialogs() } /* Unregister callbacks */ - var_DelCallback( getIntf()->p_sys->p_playlist, "intf-popupmenu", + var_DelCallback( getIntf()->p_libvlc, "intf-popupmenu", PopupMenuCB, this ); } @@ -183,7 +183,7 @@ bool Dialogs::init() } /* 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 ); return true;