diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-11 19:34:21 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-11 19:34:21 (EDT) |
commit | 609f591c34a8eaab9d35e0e33b7fd1bfa5a93002 (patch) | |
tree | d88828729719c40892eeb50e2aacd71d042af1d7 /src | |
parent | 8d9aa39b65fbb8291bc64ce87846782561177644 (diff) | |
download | marquee-609f591c34a8eaab9d35e0e33b7fd1bfa5a93002.zip marquee-609f591c34a8eaab9d35e0e33b7fd1bfa5a93002.tar.gz marquee-609f591c34a8eaab9d35e0e33b7fd1bfa5a93002.tar.bz2 |
MqWebView: Call parent class constructed method earlier
Diffstat (limited to 'src')
-rw-r--r-- | src/web-view.c | 6 |
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 |