diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed.c | 4 | ||||
-rw-r--r-- | embed/ephy-embed.h | 8 | ||||
-rw-r--r-- | embed/webkit/webkit-embed.c | 1 |
3 files changed, 1 insertions, 12 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index bb1cc3bd1..9243075fe 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -368,7 +368,6 @@ ephy_embed_load_url (EphyEmbed *embed, * ephy_embed_load: * @embed: an #EphyEmbed * @url: an URL - * @flags: flags modifying load behaviour * @previous_embed: the referrer embed or %NULL * * Loads a new web page in @embed. @@ -376,11 +375,10 @@ ephy_embed_load_url (EphyEmbed *embed, void ephy_embed_load (EphyEmbed *embed, const char *url, - EphyEmbedLoadFlags flags, EphyEmbed *referring_embed) { EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); - iface->load (embed, url, flags, referring_embed); + iface->load (embed, url, referring_embed); } /** diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index 3b6e03cb6..8809bf6f5 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -66,12 +66,6 @@ typedef enum EPHY_EMBED_CHROME_BOOKMARKSBAR = 1 << 3 } EphyEmbedChrome; -typedef enum -{ - EPHY_EMBED_LOAD_FLAGS_NONE = 1 << 0, - EPHY_EMBED_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP = 1 << 1, -} EphyEmbedLoadFlags; - #define EPHY_EMBED_CHROME_ALL (EPHY_EMBED_CHROME_MENUBAR | \ EPHY_EMBED_CHROME_TOOLBAR | \ EPHY_EMBED_CHROME_STATUSBAR | \ @@ -164,7 +158,6 @@ struct _EphyEmbedIface const char *url); void (* load) (EphyEmbed *embed, const char *url, - EphyEmbedLoadFlags flags, EphyEmbed *referring_embed); gboolean (* can_go_up) (EphyEmbed *embed); GSList * (* get_go_up_list) (EphyEmbed *embed); @@ -222,7 +215,6 @@ void ephy_embed_load_url (EphyEmbed *embed, const char *url); void ephy_embed_load (EphyEmbed *embed, const char *url, - EphyEmbedLoadFlags flags, EphyEmbed *referring_embed); const char *ephy_embed_get_title (EphyEmbed *embed); diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c index 27a720576..060b243c3 100644 --- a/embed/webkit/webkit-embed.c +++ b/embed/webkit/webkit-embed.c @@ -791,7 +791,6 @@ impl_load_url (EphyEmbed *embed, static void impl_load (EphyEmbed *embed, const char *url, - EphyEmbedLoadFlags flags, EphyEmbed *preview_embed) { WebKitEmbed *wembed = WEBKIT_EMBED (embed); |