diff options
author | Gustavo Noronha Silva <gns@gnome.org> | 2009-12-16 20:35:55 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <gns@gnome.org> | 2009-12-17 20:21:25 +0800 |
commit | de05c84965bc829f14fb9165bd05d5612967a36d (patch) | |
tree | 943d0bda5b6e028ec4fb578eb65cbc6920a3b793 /embed/ephy-embed-utils.h | |
parent | 092c7136695555fbd44c51e37c36202c7a2cb832 (diff) | |
download | gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.tar.gz gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.tar.zst gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.zip |
Make EphyEmbed inherit from GtkVBox instead of GtkScrolledWindow
Diffstat (limited to 'embed/ephy-embed-utils.h')
-rw-r--r-- | embed/ephy-embed-utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/embed/ephy-embed-utils.h b/embed/ephy-embed-utils.h index 5d82171e9..3b6d1b609 100644 --- a/embed/ephy-embed-utils.h +++ b/embed/ephy-embed-utils.h @@ -35,9 +35,8 @@ G_BEGIN_DECLS -#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_GET_WEBKIT_WEB_VIEW_FROM_EMBED(embed) (WEBKIT_WEB_VIEW (ephy_embed_get_web_view (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_WEBKIT_BACK_FORWARD_LIMIT 100 |