summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/unx/gtk/a11y/atklistener.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx
index 590fc869edb6..f1614d8ed512 100644
--- a/vcl/unx/gtk/a11y/atklistener.cxx
+++ b/vcl/unx/gtk/a11y/atklistener.cxx
@@ -78,10 +78,11 @@ extern "C" {
// This is an equivalent to a state change to DEFUNC(T).
atk_object_notify_state_change( atk_obj, ATK_STATE_DEFUNCT, TRUE );
if( atk_get_focus_object() == atk_obj )
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ {
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
atk_focus_tracker_notify( NULL );
-#pragma GCC diagnostic pop
+ SAL_WNODEPRECATED_DECLARATIONS_POP
+ }
g_object_unref( G_OBJECT( atk_obj ) );
return FALSE;
}