summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-17 02:33:40 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-17 02:33:40 (EDT)
commita1d59a79ce8a8f8d12f6f58ced1cc3cab44e6f85 (patch)
tree9cd06e86bd7c9170b85eb9b45af8f74a0e4ab961
parente633c6dc2bda785c455cc57bdef84a9974302b33 (diff)
downloadmarquee-a1d59a79ce8a8f8d12f6f58ced1cc3cab44e6f85.zip
marquee-a1d59a79ce8a8f8d12f6f58ced1cc3cab44e6f85.tar.gz
marquee-a1d59a79ce8a8f8d12f6f58ced1cc3cab44e6f85.tar.bz2
mq_tab_update_position(): New function
-rw-r--r--src/tab.c6
-rw-r--r--src/tab.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index 0f8d298..f5851ca 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -54,3 +54,9 @@ mq_tab_get_container(MqTab *tab)
{
return tab->container;
}
+
+void
+mq_tab_update_position(MqTab *tab, guint position)
+{
+ mq_tab_chrome_update_tab_position(tab->chrome, position);
+}
diff --git a/src/tab.h b/src/tab.h
index 5eeda0d..d8fbcc9 100644
--- a/src/tab.h
+++ b/src/tab.h
@@ -39,4 +39,7 @@ mq_tab_new(gchar *uri, GtkWidget *tab_image, GtkWidget *tab_label);
GtkWidget *
mq_tab_get_container(MqTab *tab);
+void
+mq_tab_update_position(MqTab *tab, guint position);
+
#endif