[epiphany] ephy-web-view: chain up to the parent constructed virtual method



commit e4a612165350d8d1868b75745f8ffb273f38e8e0
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Tue May 29 14:44:25 2012 +0200

    ephy-web-view: chain up to the parent constructed virtual method
    
    To make sure constructed is called in WebKitWebView if present.

 embed/ephy-web-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 61c1fe1..e98e13d 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1196,6 +1196,9 @@ hovering_over_link_cb (EphyWebView *web_view,
 static void
 ephy_web_view_constructed (GObject *object)
 {
+  if (G_OBJECT_CLASS (ephy_web_view_parent_class)->constructed)
+    G_OBJECT_CLASS (ephy_web_view_parent_class)->constructed (object);
+
   /* Use full content zooming by default */
   /* FIXME: we could make this configurable through GSettings, or have
    * different keys for text and full content zooming. AFAIK you can



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]