summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web-view.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/web-view.c b/src/web-view.c
index 5fbd672..2251539 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -565,6 +565,10 @@ constructed(GObject *object)
MqConfig *config;
gchar *new_tab_page;
+ if (G_OBJECT_CLASS(mq_web_view_parent_class)->constructed) {
+ G_OBJECT_CLASS(mq_web_view_parent_class)->constructed(object);
+ }
+
web_view = MQ_WEB_VIEW(object);
webkit_web_view_set_settings(WEBKIT_WEB_VIEW(web_view),
@@ -605,8 +609,6 @@ constructed(GObject *object)
gtk_widget_set_vexpand(GTK_WIDGET(web_view), TRUE);
/* FIXME: This doesn't seem to be working. */
gtk_widget_grab_focus(GTK_WIDGET(web_view));
-
- G_OBJECT_CLASS(mq_web_view_parent_class)->constructed(object);
}
static void