diff options
Diffstat (limited to 'src/web-view.c')
-rw-r--r-- | src/web-view.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/web-view.c b/src/web-view.c index f023833..5388644 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -217,8 +217,8 @@ constructed(GObject *object) new_tab_page = mq_config_get_string(web_view->config, "tabs.new"); if (g_strcmp0(new_tab_page, "home") == 0) { - web_view->uri = mq_config_get_string(web_view->config, - "tabs.home"); + mq_web_view_load_uri(web_view, mq_config_get_string( + web_view->config, "tabs.home")); } else if (g_strcmp0(new_tab_page, "blank") == 0) { /* Don't load any URI. */ } else { @@ -226,9 +226,6 @@ constructed(GObject *object) } } - mq_web_view_scheme_set_methods(&web_view->scheme_methods, - &web_view->scheme, web_view->uri); - mq_web_view_zoom_reset(web_view); gtk_widget_set_vexpand(GTK_WIDGET(web_view), TRUE); |