aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2011-12-31 04:56:40 +0800
committerXan Lopez <xan@igalia.com>2011-12-31 04:56:40 +0800
commitd37c1046ed955f2405065083e02b6a28fad9f925 (patch)
tree833d948b62406b4dd9ae468e5aabbbdb1336676e /src
parentc46fdcb815a5a50c248a825e59f9456e2be6c140 (diff)
downloadgsoc2013-epiphany-d37c1046ed955f2405065083e02b6a28fad9f925.tar
gsoc2013-epiphany-d37c1046ed955f2405065083e02b6a28fad9f925.tar.gz
gsoc2013-epiphany-d37c1046ed955f2405065083e02b6a28fad9f925.tar.bz2
gsoc2013-epiphany-d37c1046ed955f2405065083e02b6a28fad9f925.tar.lz
gsoc2013-epiphany-d37c1046ed955f2405065083e02b6a28fad9f925.tar.xz
gsoc2013-epiphany-d37c1046ed955f2405065083e02b6a28fad9f925.tar.zst
gsoc2013-epiphany-d37c1046ed955f2405065083e02b6a28fad9f925.zip
ephy-combined-stop-reload-action: add type checks
This is a public function after all.
Diffstat (limited to 'src')
-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;