From b484416a6441c8c1553581767b8f130d88f23321 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 30 Oct 2017 05:08:23 -0400 Subject: mq_tab_page_get_web_view(): New function --- (limited to 'src') 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); -- cgit v0.9.1