[vlc-commits] Mac warning fixes
Jean-Baptiste Kempf
git at videolan.org
Fri Dec 14 12:05:10 CET 2012
npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Dec 14 12:05:01 2012 +0100| [0840a3950fec89578701a6c16805ec6e0a32651d] | committer: Jean-Baptiste Kempf
Mac warning fixes
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=0840a3950fec89578701a6c16805ec6e0a32651d
---
npapi/vlcplugin_mac.cpp | 2 ++
npapi/vlcplugin_mac.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/npapi/vlcplugin_mac.cpp b/npapi/vlcplugin_mac.cpp
index 019a8a2..6155c4c 100644
--- a/npapi/vlcplugin_mac.cpp
+++ b/npapi/vlcplugin_mac.cpp
@@ -94,11 +94,13 @@ bool VlcPluginMac::resize_windows()
#else
#warning disabled code
#endif
+ return true;
}
bool VlcPluginMac::destroy_windows()
{
npwindow.window = NULL;
+ return true;
}
bool VlcPluginMac::handle_event(void *event)
diff --git a/npapi/vlcplugin_mac.h b/npapi/vlcplugin_mac.h
index 99a7ed5..5a24149 100644
--- a/npapi/vlcplugin_mac.h
+++ b/npapi/vlcplugin_mac.h
@@ -50,7 +50,7 @@ public:
void update_controls() {/* STUB */}
void popup_menu() {/* STUB */}
- virtual void handle_event(void *event);
+ virtual bool handle_event(void *event);
private:
void set_player_window();
More information about the vlc-commits
mailing list