[vlc-devel] commit: Skins: fix the popup-menu appearance on the video. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Mar 16 23:39:11 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Mar 16 23:37:49 2009 +0100| [02456d7e33bb7d1b91e0c760ec35c0fdf5533c92] | committer: Jean-Baptiste Kempf 

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

Patch by Erwan10, <brezhoneg1 at yahoo.fr>, simplified by /me

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02456d7e33bb7d1b91e0c760ec35c0fdf5533c92
---

 modules/gui/skins2/src/dialogs.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/skins2/src/dialogs.cpp b/modules/gui/skins2/src/dialogs.cpp
index ee80de2..98f34b8 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;




More information about the vlc-devel mailing list