-Werror=deprecated-declarations (on Debian, reportedly)

Change-Id: I3d766025a85d1c5c7f3f48d39e73117d18c636ae
This commit is contained in:
Stephan Bergmann
2014-04-09 12:29:56 +02:00
parent 5d81ecff7e
commit c123d7c2a0

View File

@@ -81,7 +81,11 @@ image_get_image_position( AtkImage *image,
{ {
*x = *y = 0; *x = *y = 0;
if( ATK_IS_COMPONENT( image ) ) if( ATK_IS_COMPONENT( image ) )
{
SAL_WNODEPRECATED_DECLARATIONS_PUSH
atk_component_get_position( ATK_COMPONENT( image ), x, y, coord_type ); atk_component_get_position( ATK_COMPONENT( image ), x, y, coord_type );
SAL_WNODEPRECATED_DECLARATIONS_POP
}
else else
g_warning( "FIXME: no image position information" ); g_warning( "FIXME: no image position information" );
} }