Remove duplicated code from AtkImage
authorClaudio Saavedra <csaavedra@igalia.com>
Thu, 17 Jun 2010 22:49:51 +0000 (01:49 +0300)
committerClaudio Saavedra <csaavedra@igalia.com>
Thu, 17 Jun 2010 22:52:32 +0000 (01:52 +0300)
Fixes bug #571622.

atk/atkimage.c

index 2f9edea..78fcebd 100755 (executable)
@@ -169,10 +169,6 @@ atk_image_get_image_position (AtkImage *image,
     real_y = y;
   else
     real_y = &local_y;
-  
-  iface = ATK_IMAGE_GET_IFACE (image);
-
-  g_return_if_fail (ATK_IS_IMAGE (image));
 
   iface = ATK_IMAGE_GET_IFACE (image);