summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-17 21:59:42 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-17 21:59:42 (EDT)
commit8cfd7bff52ffab2b97899756db08200c2b5c4fe4 (patch)
tree6a9561e1c40b740101f002e87f1f9a06233937e6
parentdb6ee430c2bb225d1a368e3c37595a00322ba5f0 (diff)
downloadmarquee-8cfd7bff52ffab2b97899756db08200c2b5c4fe4.zip
marquee-8cfd7bff52ffab2b97899756db08200c2b5c4fe4.tar.gz
marquee-8cfd7bff52ffab2b97899756db08200c2b5c4fe4.tar.bz2
MqTab: Use previously unused static function argument
-rw-r--r--src/tab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tab.c b/src/tab.c
index 626424a..1efe0e5 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -80,10 +80,10 @@ append_sibling(MqTab *new_node, MqTab *prev_sibling)
}
static void
-title_cb(WebKitWebView G_GNUC_UNUSED *web_view,
- GParamSpec G_GNUC_UNUSED *param_spec, MqTab *tab)
+title_cb(WebKitWebView *web_view, GParamSpec G_GNUC_UNUSED *param_spec,
+ MqTab *tab)
{
- tab->title = webkit_web_view_get_title(tab->web_view);
+ tab->title = webkit_web_view_get_title(web_view);
mq_window_update_tab_title(tab->window, tab->position, tab->title);
}