summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-09 12:29:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-09 12:30:14 +0200
commitc123d7c2a0a76283413b7bc39a659ef66fa4fadc (patch)
tree3c82e58152a53ccb4a17dd7d6fb99b8402d3ade4 /vcl
parent5d81ecff7e81fd7f8b2c19294f220dd7f9ce6166 (diff)
-Werror=deprecated-declarations (on Debian, reportedly)
Change-Id: I3d766025a85d1c5c7f3f48d39e73117d18c636ae
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/a11y/atkimage.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/gtk/a11y/atkimage.cxx b/vcl/unx/gtk/a11y/atkimage.cxx
index 524a26895c59..347103254564 100644
--- a/vcl/unx/gtk/a11y/atkimage.cxx
+++ b/vcl/unx/gtk/a11y/atkimage.cxx
@@ -81,7 +81,11 @@ image_get_image_position( AtkImage *image,
{
*x = *y = 0;
if( ATK_IS_COMPONENT( image ) )
+ {
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
atk_component_get_position( ATK_COMPONENT( image ), x, y, coord_type );
+ SAL_WNODEPRECATED_DECLARATIONS_POP
+ }
else
g_warning( "FIXME: no image position information" );
}