diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-09 12:54:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-09 12:54:14 +0200 |
commit | 9c5a34edeee63c4d512bb47d116313469bba960d (patch) | |
tree | 02ab4f37ce6e0ab055572a14be9fbf66fa0c6e07 /vcl/unx | |
parent | fe8ef98e2c1611a72bd2840cd08dc101f25b1cd3 (diff) |
Use SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP
Change-Id: I01e2067b4e410809be1278ab709a374d9a0ce314
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/a11y/atklistener.cxx | 7 |
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; } |