diff --git a/widgets/table/gal-a11y-e-table-item.c b/widgets/table/gal-a11y-e-table-item.c
index e296882..7199470 100644
--- a/widgets/table/gal-a11y-e-table-item.c
+++ b/widgets/table/gal-a11y-e-table-item.c
@@ -1212,12 +1212,11 @@ static void
 eti_a11y_selection_changed_cb (ESelectionModel *selection, GalA11yETableItem *a11y)
 {
 	GalA11yETableItemPrivate *priv = GET_PRIVATE (a11y);
+	g_return_if_fail (GAL_A11Y_IS_E_TABLE_ITEM (a11y));
 
 	if (atk_state_set_contains_state (priv->state_set, ATK_STATE_DEFUNCT))
 		return;
 
-	g_return_if_fail (GAL_A11Y_IS_E_TABLE_ITEM (a11y));
-
 	g_signal_emit_by_name (a11y, "selection_changed");
 }
 
