summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tab-body.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/tab-body.c b/src/tab-body.c
index 18ea86d..4f46a9e 100644
--- a/src/tab-body.c
+++ b/src/tab-body.c
@@ -238,7 +238,7 @@ context_menu_media_cb(WebKitContextMenu *context_menu, GList *media_ctrl_items,
static void
context_menu_editable_cb(WebKitContextMenu *context_menu, GList *edit_items,
- GList *input_items, MqTabBody *body)
+ GList *input_items, MqTabBody __attribute__((unused)) *body)
{
ITEM_DECLS_NO_CUSTOM
@@ -250,7 +250,7 @@ context_menu_editable_cb(WebKitContextMenu *context_menu, GList *edit_items,
}
static void
context_menu_document_cb(WebKitContextMenu *context_menu, GList *nav_items,
- MqTabBody *body)
+ MqTabBody __attribute__((unused)) *body)
{
ITEM_DECLS_NO_CUSTOM
@@ -419,8 +419,8 @@ context_menu_cb(WebKitWebView __attribute__((unused)) *web_view,
}
static void
-clipboard_text_recv_cb(GtkClipboard *clipboard, const gchar *text,
- MqTabBody *body)
+clipboard_text_recv_cb(GtkClipboard __attribute__((unused)) *clipboard,
+ const gchar *text, MqTabBody *body)
{
webkit_web_view_load_uri(body->web_view, text);
}
@@ -440,7 +440,8 @@ mouse_target_changed_cb(WebKitWebView __attribute__((unused)) *web_view,
}
static gboolean
-button_press_cb(WebKitWebView *web_view, GdkEvent *event, MqTabBody *body)
+button_press_cb(WebKitWebView __attribute__((unused)) *web_view,
+ GdkEvent *event, MqTabBody *body)
{
WebKitHitTestResult *hit_test_result;
GtkClipboard *clipboard;