Avoid unused parameter warnings
This commit is contained in:
@@ -303,9 +303,9 @@ void wxWebViewWebKitExtension::SetDBusConnection(GDBusConnection *dbusConnection
|
|||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
static void
|
static void
|
||||||
wxgtk_webview_handle_method_call(GDBusConnection *connection,
|
wxgtk_webview_handle_method_call(GDBusConnection*,
|
||||||
const char *sender,
|
const char* /* sender */,
|
||||||
const char *object_path,
|
const char* /* object_path */,
|
||||||
const char *interface_name,
|
const char *interface_name,
|
||||||
const char *method_name,
|
const char *method_name,
|
||||||
GVariant *parameters,
|
GVariant *parameters,
|
||||||
@@ -378,16 +378,16 @@ wxgtk_webview_dbus_peer_is_authorized(GCredentials *peer_credentials)
|
|||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
static gboolean
|
static gboolean
|
||||||
wxgtk_webview_authorize_authenticated_peer_cb(GDBusAuthObserver *observer,
|
wxgtk_webview_authorize_authenticated_peer_cb(GDBusAuthObserver*,
|
||||||
GIOStream *stream,
|
GIOStream*,
|
||||||
GCredentials *credentials,
|
GCredentials *credentials,
|
||||||
wxWebViewWebKitExtension *extension)
|
wxWebViewWebKitExtension*)
|
||||||
{
|
{
|
||||||
return wxgtk_webview_dbus_peer_is_authorized(credentials);
|
return wxgtk_webview_dbus_peer_is_authorized(credentials);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
wxgtk_webview_dbus_connection_created_cb(GObject *source_object,
|
wxgtk_webview_dbus_connection_created_cb(GObject*,
|
||||||
GAsyncResult *result,
|
GAsyncResult *result,
|
||||||
void* user_data)
|
void* user_data)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user