summaryrefslogtreecommitdiff
path: root/atk/atkregistry.c
diff options
context:
space:
mode:
authorPadraig O'Briain <padraigo@src.gnome.org>2001-07-27 08:33:35 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2001-07-27 08:33:35 +0000
commit212877c783b8d2bec1eeba23369391a7c55d9108 (patch)
tree728ee2b4d6f0cc664fafaa3c1c663b35a59030ad /atk/atkregistry.c
parent94a3cdf33670d199c5a849a6b6196f7c2120c818 (diff)
downloadatk-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/atkregistry.c')
-rw-r--r--atk/atkregistry.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/atk/atkregistry.c b/atk/atkregistry.c
index 47526a3..fda1d5a 100644
--- a/atk/atkregistry.c
+++ b/atk/atkregistry.c
@@ -99,7 +99,6 @@ atk_registry_new ()
object = g_object_new (ATK_TYPE_REGISTRY, NULL);
- g_return_val_if_fail (object != NULL, NULL);
g_return_val_if_fail (ATK_IS_REGISTRY (object), NULL);
return (AtkRegistry *) object;