[vlc-commits] Gtk: kill warnings

Jean-Baptiste Kempf git at videolan.org
Tue Dec 18 17:27:00 CET 2012


npapi-vlc | branch: windowless | Jean-Baptiste Kempf <jb at videolan.org> | Fri Dec 14 12:06:32 2012 +0100| [126f66e046f6d385c46f4e63632a8f5e62879eb0] | committer: Jean-Baptiste Kempf

Gtk: kill warnings

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=126f66e046f6d385c46f4e63632a8f5e62879eb0
---

 npapi/vlcplugin_gtk.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/npapi/vlcplugin_gtk.cpp b/npapi/vlcplugin_gtk.cpp
index 6b0c092..c49a8cc 100644
--- a/npapi/vlcplugin_gtk.cpp
+++ b/npapi/vlcplugin_gtk.cpp
@@ -513,6 +513,7 @@ bool VlcPluginGtk::resize_windows()
     req.width = npwindow.width;
     req.height = npwindow.height;
     gtk_widget_size_request(parent, &req);
+    return true;
 }
 
 bool VlcPluginGtk::destroy_windows()
@@ -529,4 +530,5 @@ bool VlcPluginGtk::destroy_windows()
     /* free colors */
     Colormap colormap = DefaultColormap(display, DefaultScreen(display));
     XFreeColors(display, colormap, &bg_color.pixel, 1, 0);
+    return true;
 }



More information about the vlc-commits mailing list