aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-06-14 21:12:26 +0800
committerChristian Persch <chpe@src.gnome.org>2004-06-14 21:12:26 +0800
commit6a6db353ca01d693c363c249903e63546f48e837 (patch)
tree7b86bd1f71671fa711d5dea13428460e9c99299f /embed/ephy-embed.c
parent81bb2e461a848f2ed7c85d5c4ba7404ae4945c18 (diff)
downloadgsoc2013-epiphany-6a6db353ca01d693c363c249903e63546f48e837.tar
gsoc2013-epiphany-6a6db353ca01d693c363c249903e63546f48e837.tar.gz
gsoc2013-epiphany-6a6db353ca01d693c363c249903e63546f48e837.tar.bz2
gsoc2013-epiphany-6a6db353ca01d693c363c249903e63546f48e837.tar.lz
gsoc2013-epiphany-6a6db353ca01d693c363c249903e63546f48e837.tar.xz
gsoc2013-epiphany-6a6db353ca01d693c363c249903e63546f48e837.tar.zst
gsoc2013-epiphany-6a6db353ca01d693c363c249903e63546f48e837.zip
Get rid of EmbedReloadFlags, and use a gboolean force parameter in
2004-06-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_reload): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/prefs-dialog.c: * src/window-commands.c: (window_cmd_view_reload): Get rid of EmbedReloadFlags, and use a gboolean force parameter in ephy_embed_reload() instead, since we only had two states anyway - EMBED_RELOAD_NORMAL, and EMBED_RELOAD_FORCE.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index f3fa3bc57..341c66d49 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -476,19 +476,19 @@ ephy_embed_get_js_status (EphyEmbed *embed)
/**
* ephy_embed_reload:
* @embed: an #EphyEmbed
- * @flags: %EMBED_RELOAD_FORCE to bypass cache
+ * @force: %TRUE to bypass cache
*
* Reloads the web page being displayed in @embed.
*
- * If @flags is %EMBED_RELOAD_FORCE, cache and proxy will be bypassed when
- * reloading the page. Otherwise, use %EMBED_RELOAD_NORMAL.
+ * If @force is %TRUE, cache and proxy will be bypassed when
+ * reloading the page.
**/
void
ephy_embed_reload (EphyEmbed *embed,
- EmbedReloadFlags flags)
+ gboolean force)
{
EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed);
- iface->reload (embed, flags);
+ iface->reload (embed, force);
}
/**