diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/web-view.c | 6 | ||||
-rw-r--r-- | src/web-view.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/web-view.c b/src/web-view.c index 47324f5..dc0f243 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -660,6 +660,12 @@ mq_web_view_new(MqTab *tab, const gchar *uri) NULL); } +const gchar * +mq_web_view_get_uri(MqWebView *web_view) +{ + return web_view->uri; +} + void mq_web_view_load_uri(MqWebView *web_view, const gchar *uri) { diff --git a/src/web-view.h b/src/web-view.h index 7f1de44..7a77c66 100644 --- a/src/web-view.h +++ b/src/web-view.h @@ -54,6 +54,9 @@ mq_web_view_get_type(void); MqWebView * mq_web_view_new(MqTab *tab, const gchar *uri); +const gchar * +mq_web_view_get_uri(MqWebView *web_view); + void mq_web_view_load_uri(MqWebView *web_view, const gchar *uri); |