aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ephy-combined-stop-reload-action.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ephy-combined-stop-reload-action.c b/src/ephy-combined-stop-reload-action.c
index 2ba95d42c..0b43d8f63 100644
--- a/src/ephy-combined-stop-reload-action.c
+++ b/src/ephy-combined-stop-reload-action.c
@@ -64,7 +64,11 @@ ephy_combined_stop_reload_action_set_loading (EphyCombinedStopReloadAction *acti
gboolean loading)
{
EphyCombinedStopReloadActionEnum action_enum;
- EphyCombinedStopReloadActionPrivate *priv = action->priv;
+ EphyCombinedStopReloadActionPrivate *priv;
+
+ g_return_if_fail (EPHY_IS_COMBINED_STOP_RELOAD_ACTION (action));
+
+ priv = action->priv;
if (priv->loading == loading && priv->action_handler_id)
return;