summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-27 12:30:27 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-27 12:30:27 (EDT)
commit369d0b084abcb1a863cd6c08dcd743bc96c14af4 (patch)
treecb3bc9856797f9b4e1e685b64b15668c5fa405e4
parentbae9636fbf3ce1254edab0d87c0f687e42cc90fe (diff)
downloadmarquee-369d0b084abcb1a863cd6c08dcd743bc96c14af4.zip
marquee-369d0b084abcb1a863cd6c08dcd743bc96c14af4.tar.gz
marquee-369d0b084abcb1a863cd6c08dcd743bc96c14af4.tar.bz2
MqTabBody: Mark unused function parameters
-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;