]> git.sesse.net Git - vlc/commitdiff
Skins: fix the popup-menu appearance on the video.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 16 Mar 2009 22:37:49 +0000 (23:37 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 16 Mar 2009 22:37:49 +0000 (23:37 +0100)
Patch by Erwan10, <brezhoneg1@yahoo.fr>, simplified by /me

modules/gui/skins2/src/dialogs.cpp

index ee80de2a5ae274dab159c99cbf3dfeb0da077b47..98f34b8d9fcc8448dde480f77c3780547949037b 100644 (file)
@@ -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;