From 603a9503df75635a63a5dc42454a9a61bcc518c2 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 7 Mar 2012 19:55:34 +0100 Subject: ephy-web-view: remember when we are loading the homepage And add a getter for the information. --- embed/ephy-web-view.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'embed/ephy-web-view.h') diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h index 789d6cfa5..46336e75b 100644 --- a/embed/ephy-web-view.h +++ b/embed/ephy-web-view.h @@ -124,6 +124,8 @@ struct _EphyWebViewClass void (* new_document_now) (EphyWebView *view, const char *uri); + + void (* loading_homepage) (EphyWebView *view); }; GType ephy_web_view_get_type (void); @@ -190,11 +192,15 @@ void ephy_web_view_save (EphyWebView const char *uri); void ephy_web_view_load_homepage (EphyWebView *view); -char * -ephy_web_view_create_web_application (EphyWebView *view, const char *title, GdkPixbuf *icon); - -GdkPixbuf * -ephy_web_view_get_snapshot (EphyWebView *view, int x, int y, int width, int height); +char * ephy_web_view_create_web_application (EphyWebView *view, + const char *title, + GdkPixbuf *icon); +GdkPixbuf * ephy_web_view_get_snapshot (EphyWebView *view, + int x, + int y, + int width, + int height); +gboolean ephy_web_view_is_loading_homepage (EphyWebView *view); G_END_DECLS -- cgit