summaryrefslogtreecommitdiffstats
path: root/src/tab-chrome.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-17 02:32:06 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-17 02:32:06 (EDT)
commite633c6dc2bda785c455cc57bdef84a9974302b33 (patch)
treed88e0b16ce8709bfd9203a647377a4ec0e611171 /src/tab-chrome.c
parent6770dc83132d6a01f05d60a4374e44f6ac520838 (diff)
downloadmarquee-e633c6dc2bda785c455cc57bdef84a9974302b33.zip
marquee-e633c6dc2bda785c455cc57bdef84a9974302b33.tar.gz
marquee-e633c6dc2bda785c455cc57bdef84a9974302b33.tar.bz2
mq_tab_chrome_update_tab_position(): New function
Diffstat (limited to 'src/tab-chrome.c')
-rw-r--r--src/tab-chrome.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index a2571eb..c03f393 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -90,6 +90,12 @@ mq_tab_chrome_get_container(MqTabChrome *chrome)
return chrome->container;
}
+void
+mq_tab_chrome_update_tab_position(MqTabChrome *chrome, guint position)
+{
+ chrome->tab_position = position;
+}
+
static void
load_changed_cb(WebKitWebView *web_view, WebKitLoadEvent load_event,
MqTabChrome *chrome)