aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-02-28 16:56:47 +0800
committerXan Lopez <xan@src.gnome.org>2009-02-28 16:56:47 +0800
commit4c8655bd2fa1570aa825a3001077f3bd810d3440 (patch)
treeeb8bdf30a87138c9c2484c82a0b5b99fa2edae19
parenta7deb6a2186b0db3c31f99307d5a3a093cace898 (diff)
downloadgsoc2013-epiphany-4c8655bd2fa1570aa825a3001077f3bd810d3440.tar.gz
gsoc2013-epiphany-4c8655bd2fa1570aa825a3001077f3bd810d3440.tar.zst
gsoc2013-epiphany-4c8655bd2fa1570aa825a3001077f3bd810d3440.zip
webkit-embed-prefs: use utils macro to get WebView from embed.
svn path=/trunk/; revision=8823
-rw-r--r--embed/webkit/webkit-embed-prefs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/webkit/webkit-embed-prefs.c b/embed/webkit/webkit-embed-prefs.c
index 77cac6cad..a0cc23dee 100644
--- a/embed/webkit/webkit-embed-prefs.c
+++ b/embed/webkit/webkit-embed-prefs.c
@@ -25,6 +25,7 @@
#include "webkit-embed-prefs.h"
#include "eel-gconf-extensions.h"
#include "ephy-embed-prefs.h"
+#include "ephy-embed-utils.h"
#include "ephy-file-helpers.h"
typedef struct
@@ -155,7 +156,7 @@ static const PrefData webkit_pref_entries[] =
static void
webkit_embed_prefs_apply (WebKitEmbed *embed, WebKitWebSettings *settings)
{
- webkit_web_view_set_settings (WEBKIT_WEB_VIEW (GTK_BIN (GTK_BIN (embed)->child)->child),
+ webkit_web_view_set_settings (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed),
settings);
}