From 02456d7e33bb7d1b91e0c760ec35c0fdf5533c92 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Mon, 16 Mar 2009 23:37:49 +0100 Subject: [PATCH] Skins: fix the popup-menu appearance on the video. Patch by Erwan10, , simplified by /me --- modules/gui/skins2/src/dialogs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2