aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-22 17:08:18 +0800
committerXan Lopez <xan@igalia.com>2013-03-22 17:08:18 +0800
commitf6075f88d51f37c8b433d383d2d6b8d02ff77414 (patch)
tree0879760a98738987e59266de2a4f64925a847184
parent390f0f09f535f40d426b8a4a88f80ea348a8aed9 (diff)
downloadgsoc2013-epiphany-f6075f88d51f37c8b433d383d2d6b8d02ff77414.tar
gsoc2013-epiphany-f6075f88d51f37c8b433d383d2d6b8d02ff77414.tar.gz
gsoc2013-epiphany-f6075f88d51f37c8b433d383d2d6b8d02ff77414.tar.bz2
gsoc2013-epiphany-f6075f88d51f37c8b433d383d2d6b8d02ff77414.tar.lz
gsoc2013-epiphany-f6075f88d51f37c8b433d383d2d6b8d02ff77414.tar.xz
gsoc2013-epiphany-f6075f88d51f37c8b433d383d2d6b8d02ff77414.tar.zst
gsoc2013-epiphany-f6075f88d51f37c8b433d383d2d6b8d02ff77414.zip
ephy-embed-utils: remove non WebKit2 bits
-rw-r--r--embed/ephy-embed-utils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/embed/ephy-embed-utils.h b/embed/ephy-embed-utils.h
index 5575c1a73..0b9af55f6 100644
--- a/embed/ephy-embed-utils.h
+++ b/embed/ephy-embed-utils.h
@@ -33,12 +33,7 @@
G_BEGIN_DECLS
#define EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED(embed) (WEBKIT_WEB_VIEW (ephy_embed_get_web_view (embed)))
-#ifdef HAVE_WEBKIT2
-/* There's no scrolled window widget in WebKit2 */
#define EPHY_GET_EMBED_FROM_EPHY_WEB_VIEW(view) (EPHY_EMBED (gtk_widget_get_parent (gtk_widget_get_parent (gtk_widget_get_parent ((GTK_WIDGET (view)))))))
-#else
-#define EPHY_GET_EMBED_FROM_EPHY_WEB_VIEW(view) (EPHY_EMBED (gtk_widget_get_parent (gtk_widget_get_parent (gtk_widget_get_parent (gtk_widget_get_parent ((GTK_WIDGET (view))))))))
-#endif
#define EPHY_WEBKIT_BACK_FORWARD_LIMIT 100