diff options
author | Xan Lopez <xan@gnome.org> | 2009-09-07 20:28:28 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-09-07 20:31:04 +0800 |
commit | 7d58850eb100ff84bb2fe3f48658e01f64bb088c (patch) | |
tree | ff3e0aa65c9225039d3a2c9799fd41d575d25db3 /embed/ephy-web-view.h | |
parent | 108eade49982245d1ffcf30159707554cdb63d69 (diff) | |
download | gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar.gz gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.tar.zst gsoc2013-epiphany-7d58850eb100ff84bb2fe3f48658e01f64bb088c.zip |
Simplify EXPIRE logic in ephy_web_view_set_typed_address
The whole thing just had one functionality at this point as far as I
can see: prevent the typed address from being wiped out when a page
is loading. Simplify the code to do just that.
Diffstat (limited to 'embed/ephy-web-view.h')
-rw-r--r-- | embed/ephy-web-view.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h index dd92b9d5d..d50bf4fa1 100644 --- a/embed/ephy-web-view.h +++ b/embed/ephy-web-view.h @@ -108,13 +108,6 @@ typedef enum EPHY_WEB_VIEW_DOCUMENT_OTHER } EphyWebViewDocumentType; -typedef enum -{ - EPHY_WEB_VIEW_ADDRESS_EXPIRE_NOW, - EPHY_WEB_VIEW_ADDRESS_EXPIRE_NEXT, - EPHY_WEB_VIEW_ADDRESS_EXPIRE_CURRENT -} EphyWebViewAddressExpire; - struct _EphyWebView { WebKitWebView parent; @@ -195,8 +188,7 @@ void ephy_web_view_set_visibility (EphyWebView gboolean visibility); const char * ephy_web_view_get_typed_address (EphyWebView *view); void ephy_web_view_set_typed_address (EphyWebView *view, - const char *address, - EphyWebViewAddressExpire expire); + const char *address); gboolean ephy_web_view_get_is_blank (EphyWebView *view); gboolean ephy_web_view_has_modified_forms (EphyWebView *view); char * ephy_web_view_get_location (EphyWebView *view, |