summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);