]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix a couple of warning that crept back into the GTK backend.
authorSteve Lamerton <steve.lamerton@gmail.com>
Mon, 1 Aug 2011 12:35:52 +0000 (12:35 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Mon, 1 Aug 2011 12:35:52 +0000 (12:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/webview_webkit.h
src/gtk/webview_webkit.cpp

index d7d4feaa222dfd3be1c2886103b625398e4dff0a..6d8de612771b3b80476ae46975b966dcf410b3de 100644 (file)
@@ -122,7 +122,7 @@ public:
     virtual void RunScript(const wxString& javascript);
     
     //Virtual Filesystem Support
-    virtual void RegisterHandler(wxWebHandler* handler) {};
+    virtual void RegisterHandler(wxWebHandler* WXUNUSED(handler)) {};
 
     /** FIXME: hack to work around signals being received too early */
     bool m_ready;
index fcdd060b2e8201ed8cf0085b50b403585978701d..5c7819ee3a25f14dca1bc738ea59d3f9f117793c 100644 (file)
@@ -264,8 +264,8 @@ wxgtk_webview_webkit_new_window(WebKitWebView*,
 }
 
 static void
-wxgtk_webview_webkit_title_changed(WebKitWebView *webView,
-                                   WebKitWebFrame *frame,
+wxgtk_webview_webkit_title_changed(WebKitWebView*,
+                                   WebKitWebFrame*,
                                    gchar *title,
                                    wxWebViewWebKit *webKitCtrl)
 {