Remove unnecessary g_retunn_val_if_fail() call.
authorPadraig O'Briain <padraigo@src.gnome.org>
Tue, 11 Dec 2001 17:51:01 +0000 (17:51 +0000)
committerPadraig O'Briain <padraigo@src.gnome.org>
Tue, 11 Dec 2001 17:51:01 +0000 (17:51 +0000)
* atk/atkcomponent.c (atk_component_ref_accessible_at_position):
Remove unnecessary g_retunn_val_if_fail() call.

ChangeLog
atk/atkcomponent.c

index f15c5f4..038c2e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-11  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkcomponent.c (atk_component_ref_accessible_at_position):
+       Remove unnecessary g_retunn_val_if_fail() call.
+
 2001-12-08  Michael Meeks  <michael@ximian.com>
 
        * atk/atkregistry.c (atk_registry_class_init):
index dd568b8..0ec321d 100755 (executable)
@@ -457,8 +457,6 @@ atk_component_real_ref_accessible_at_point (AtkComponent *component,
 
   count = atk_object_get_n_accessible_children (ATK_OBJECT (component));
 
-  g_return_val_if_fail (count != 0, NULL);
-
   for (i = 0; i < count; i++)
   {
     AtkObject *obj;