aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-utils.h
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-06-16 21:24:56 +0800
committerXan Lopez <xan@gnome.org>2009-06-16 21:24:56 +0800
commit442d30e4e4fa9d97c6b3c0f202e457a8fdf193cf (patch)
tree53cecf23142c4258380787a52a0818a662a2aa0b /embed/ephy-embed-utils.h
parent0c5500f9a15581b1689d7187d308f9ed7eb15f5e (diff)
downloadgsoc2013-epiphany-442d30e4e4fa9d97c6b3c0f202e457a8fdf193cf.tar
gsoc2013-epiphany-442d30e4e4fa9d97c6b3c0f202e457a8fdf193cf.tar.gz
gsoc2013-epiphany-442d30e4e4fa9d97c6b3c0f202e457a8fdf193cf.tar.bz2
gsoc2013-epiphany-442d30e4e4fa9d97c6b3c0f202e457a8fdf193cf.tar.lz
gsoc2013-epiphany-442d30e4e4fa9d97c6b3c0f202e457a8fdf193cf.tar.xz
gsoc2013-epiphany-442d30e4e4fa9d97c6b3c0f202e457a8fdf193cf.tar.zst
gsoc2013-epiphany-442d30e4e4fa9d97c6b3c0f202e457a8fdf193cf.zip
Simplify widget hierarchy.
Get rid of a dummy GtkBin layer.
Diffstat (limited to 'embed/ephy-embed-utils.h')
-rw-r--r--embed/ephy-embed-utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-embed-utils.h b/embed/ephy-embed-utils.h
index fb3c273e0..fa226d0d7 100644
--- a/embed/ephy-embed-utils.h
+++ b/embed/ephy-embed-utils.h
@@ -35,9 +35,9 @@
G_BEGIN_DECLS
-#define EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED(embed) (WEBKIT_WEB_VIEW (gtk_bin_get_child (GTK_BIN (gtk_bin_get_child (GTK_BIN (embed))))))
-#define EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED(embed) (EPHY_WEB_VIEW (gtk_bin_get_child (GTK_BIN (gtk_bin_get_child (GTK_BIN (embed))))))
-#define EPHY_GET_EMBED_FROM_EPHY_WEB_VIEW(view) (EPHY_EMBED (gtk_widget_get_parent (gtk_widget_get_parent (GTK_WIDGET (view)))))
+#define EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED(embed) (WEBKIT_WEB_VIEW (gtk_bin_get_child (GTK_BIN (embed))))
+#define EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED(embed) (EPHY_WEB_VIEW (gtk_bin_get_child (GTK_BIN (embed))))
+#define EPHY_GET_EMBED_FROM_EPHY_WEB_VIEW(view) (EPHY_EMBED (gtk_widget_get_parent (GTK_WIDGET (view))))
#define EPHY_WEBKIT_BACK_FORWARD_LIMIT 100