diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/a11y-keyboard/msd-a11y-keyboard-manager.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c index a33cf40..08c77db 100644 --- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c +++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c @@ -399,7 +399,9 @@ ax_response_callback (MsdA11yKeyboardManager *manager, guint revert_controls_mask, gboolean enabled) { +#if !GTK_CHECK_VERSION (3, 22, 0) GdkScreen *screen; +#endif GError *err; switch (response_id) { @@ -424,6 +426,10 @@ ax_response_callback (MsdA11yKeyboardManager *manager, break; case GTK_RESPONSE_HELP: +#if GTK_CHECK_VERSION (3, 22, 0) + err = NULL; + if (!gtk_show_uri_on_window (parent, +#else if (!parent) screen = gdk_screen_get_default (); else @@ -431,6 +437,7 @@ ax_response_callback (MsdA11yKeyboardManager *manager, err = NULL; if (!gtk_show_uri (screen, +#endif "help:user-guide#goscustaccess-6", gtk_get_current_event_time(), &err)) { |