From 6a6db353ca01d693c363c249903e63546f48e837 Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@cvs.gnome.org>
Date: Mon, 14 Jun 2004 13:12:26 +0000
Subject: 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.
---
 src/prefs-dialog.c    | 2 --
 src/window-commands.c | 3 +--
 2 files changed, 1 insertion(+), 4 deletions(-)

(limited to 'src')

diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 161c5663b..1f14b3c8c 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -63,8 +63,6 @@ static void prefs_dialog_class_init	(PrefsDialogClass *klass);
 static void prefs_dialog_init		(PrefsDialog *pd);
 
 /* Glade callbacks */
-void prefs_proxy_auto_url_reload_cb		(GtkWidget *button,
-						 EphyDialog *dialog);
 void prefs_clear_cache_button_clicked_cb	(GtkWidget *button,
 						 gpointer data);
 void prefs_dialog_response_cb			(GtkDialog *widget,
diff --git a/src/window-commands.c b/src/window-commands.c
index 83d5aeae7..41f0c481b 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -272,8 +272,7 @@ window_cmd_view_reload (GtkAction *action,
 
 	ephy_embed_activate (embed);
 
-	ephy_embed_reload (embed, force ? EMBED_RELOAD_FORCE
-					: EMBED_RELOAD_NORMAL);
+	ephy_embed_reload (embed, force);
 }
 
 void
-- 
cgit v1.2.3