summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-29 22:17:28 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-29 22:17:28 (EDT)
commit88e7637e42da5bf29bc1b4f2b673641d18012055 (patch)
treed7c9e6bb757a88502f452c824e50e071ffbce1ad
parent81e4ebe6ff35dc7157d8b660cb600c2424df69fb (diff)
downloadmarquee-88e7637e42da5bf29bc1b4f2b673641d18012055.zip
marquee-88e7637e42da5bf29bc1b4f2b673641d18012055.tar.gz
marquee-88e7637e42da5bf29bc1b4f2b673641d18012055.tar.bz2
mq_tab_page_get_id(): New function
-rw-r--r--src/tab-page.c6
-rw-r--r--src/tab-page.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/tab-page.c b/src/tab-page.c
index c6e5edd..e6bb021 100644
--- a/src/tab-page.c
+++ b/src/tab-page.c
@@ -259,6 +259,12 @@ mq_tab_page_get_label(MqTabPage *tab_page)
return MQ_TAB_LABEL(tab_page->label);
}
+guint64
+mq_tab_page_get_id(MqTabPage *tab_page)
+{
+ return tab_page->id;
+}
+
guint
mq_tab_page_get_position(MqTabPage *tab_page)
{
diff --git a/src/tab-page.h b/src/tab-page.h
index c0c5612..cd47730 100644
--- a/src/tab-page.h
+++ b/src/tab-page.h
@@ -70,6 +70,9 @@ mq_tab_page_get_window(MqTabPage *tab_page);
MqTabLabel *
mq_tab_page_get_label(MqTabPage *tab_page);
+guint64
+mq_tab_page_get_id(MqTabPage *tab_page);
+
guint
mq_tab_page_get_position(MqTabPage *tab_page);