diff options
author | Padraig O'Briain <padraigo@src.gnome.org> | 2001-07-27 08:33:35 +0000 |
---|---|---|
committer | Padraig O'Briain <padraigo@src.gnome.org> | 2001-07-27 08:33:35 +0000 |
commit | 212877c783b8d2bec1eeba23369391a7c55d9108 (patch) | |
tree | 728ee2b4d6f0cc664fafaa3c1c663b35a59030ad /atk/atkrelation.c | |
parent | 94a3cdf33670d199c5a849a6b6196f7c2120c818 (diff) | |
download | atk-212877c783b8d2bec1eeba23369391a7c55d9108.tar.gz |
Remove all instances of g_return_if_fail (foo != NULL); that are
* atk/*.c:
Remove all instances of g_return_if_fail (foo != NULL); that are
immediately before a g_return_if_fail (ATK_IS_FOO (foo));
since the second check catches the NULL.
Diffstat (limited to 'atk/atkrelation.c')
-rwxr-xr-x | atk/atkrelation.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/atk/atkrelation.c b/atk/atkrelation.c index 144523b..e248190 100755 --- a/atk/atkrelation.c +++ b/atk/atkrelation.c @@ -123,7 +123,6 @@ atk_relation_new (AtkObject **targets, AtkRelationType atk_relation_get_relation_type (AtkRelation *relation) { - g_return_val_if_fail (relation != NULL, 0); g_return_val_if_fail (ATK_IS_RELATION (relation), 0); return relation->relationship; @@ -140,7 +139,6 @@ atk_relation_get_relation_type (AtkRelation *relation) GPtrArray* atk_relation_get_target (AtkRelation *relation) { - g_return_val_if_fail (relation != NULL, FALSE); g_return_val_if_fail (ATK_IS_RELATION (relation), FALSE); return relation->target; |