summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 05:08:23 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 05:08:23 (EDT)
commitb484416a6441c8c1553581767b8f130d88f23321 (patch)
tree3cf7702fd17b757e1b0585fc7c2b6912e5d6c8a3 /src
parentb7216fd78d8a52764f44562976b8e6054c00d6c6 (diff)
downloadmarquee-b484416a6441c8c1553581767b8f130d88f23321.zip
marquee-b484416a6441c8c1553581767b8f130d88f23321.tar.gz
marquee-b484416a6441c8c1553581767b8f130d88f23321.tar.bz2
mq_tab_page_get_web_view(): New function
Diffstat (limited to 'src')
-rw-r--r--src/tab-page.c6
-rw-r--r--src/tab-page.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/src/tab-page.c b/src/tab-page.c
index acbe58b..02ef5ba 100644
--- a/src/tab-page.c
+++ b/src/tab-page.c
@@ -276,6 +276,12 @@ mq_tab_page_set_position(MqTabPage *tab_page, guint position)
tab_page->position = position;
}
+MqWebView *
+mq_tab_page_get_web_view(MqTabPage *tab_page)
+{
+ return MQ_WEB_VIEW(tab_page->web_view);
+}
+
const gchar *
mq_tab_page_get_title(MqTabPage *tab_page)
{
diff --git a/src/tab-page.h b/src/tab-page.h
index cd47730..1737b59 100644
--- a/src/tab-page.h
+++ b/src/tab-page.h
@@ -34,6 +34,7 @@ typedef struct _MqTabPageClass MqTabPageClass;
#include "application.h"
#include "tab-label.h"
#include "window.h"
+#include "web-view.h"
G_BEGIN_DECLS
@@ -79,6 +80,9 @@ mq_tab_page_get_position(MqTabPage *tab_page);
void
mq_tab_page_set_position(MqTabPage *tab_page, guint position);
+MqWebView *
+mq_tab_page_get_web_view(MqTabPage *tab_page);
+
const gchar *
mq_tab_page_get_title(MqTabPage *tab_page);