aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2009-12-16 20:35:55 +0800
committerGustavo Noronha Silva <gns@gnome.org>2009-12-17 20:21:25 +0800
commitde05c84965bc829f14fb9165bd05d5612967a36d (patch)
tree943d0bda5b6e028ec4fb578eb65cbc6920a3b793 /src/ephy-session.c
parent092c7136695555fbd44c51e37c36202c7a2cb832 (diff)
downloadgsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.tar
gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.tar.gz
gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.tar.bz2
gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.tar.lz
gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.tar.xz
gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.tar.zst
gsoc2013-epiphany-de05c84965bc829f14fb9165bd05d5612967a36d.zip
Make EphyEmbed inherit from GtkVBox instead of GtkScrolledWindow
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 3919c6c1f..e591e1c9f 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -396,7 +396,7 @@ notebook_page_added_cb (GtkWidget *notebook,
guint position,
EphySession *session)
{
- g_signal_connect (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), "notify::load-status",
+ g_signal_connect (ephy_embed_get_web_view (embed), "notify::load-status",
G_CALLBACK (load_status_notify_cb), session);
}
@@ -409,7 +409,7 @@ notebook_page_removed_cb (GtkWidget *notebook,
ephy_session_save (session, SESSION_CRASHED);
g_signal_handlers_disconnect_by_func
- (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), G_CALLBACK (load_status_notify_cb),
+ (ephy_embed_get_web_view (embed), G_CALLBACK (load_status_notify_cb),
session);
}
@@ -1036,17 +1036,17 @@ write_tab (xmlTextWriterPtr writer,
ret = xmlTextWriterStartElement (writer, (xmlChar *) "embed");
if (ret < 0) return ret;
- address = ephy_web_view_get_address (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed));
+ address = ephy_web_view_get_address (ephy_embed_get_web_view (embed));
ret = xmlTextWriterWriteAttribute (writer, (xmlChar *) "url",
(const xmlChar *) address);
if (ret < 0) return ret;
- title = ephy_web_view_get_title (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed));
+ title = ephy_web_view_get_title (ephy_embed_get_web_view (embed));
ret = xmlTextWriterWriteAttribute (writer, (xmlChar *) "title",
(const xmlChar *) title);
if (ret < 0) return ret;
- if (ephy_web_view_is_loading (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed)))
+ if (ephy_web_view_is_loading (ephy_embed_get_web_view (embed)))
{
ret = xmlTextWriterWriteAttribute (writer,
(const xmlChar *) "loading",
@@ -1345,7 +1345,7 @@ confirm_before_recover (EphyWindow* window, char* url, char* title)
EPHY_NEW_TAB_IN_EXISTING_WINDOW | EPHY_NEW_TAB_APPEND_LAST);
/* show generated html and put the original URL in the navigation bar */
- webkit_web_view_load_html_string (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed),
+ webkit_web_view_load_html_string (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (EPHY_EMBED (embed)),
html->str,
url);
g_string_free (html, TRUE);