summaryrefslogtreecommitdiff
path: root/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 21:33:09 +0300
committerraveit65 <[email protected]>2018-01-30 14:03:10 +0100
commit336743475664829a64d13bbd70a2c97a58375d0c (patch)
tree2f3498fee5dc93d489e8768c54d01228c5863629 /plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
parenteaad50f7624c8946e57ca075f8b7e383b1715bcc (diff)
downloadmate-settings-daemon-336743475664829a64d13bbd70a2c97a58375d0c.tar.bz2
mate-settings-daemon-336743475664829a64d13bbd70a2c97a58375d0c.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'plugins/a11y-keyboard/msd-a11y-keyboard-manager.c')
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
index b2ce413..acfcdfa 100644
--- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
@@ -399,9 +399,6 @@ 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) {
@@ -426,18 +423,8 @@ 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
- screen = gtk_widget_get_screen (GTK_WIDGET (parent));
-
- err = NULL;
- if (!gtk_show_uri (screen,
-#endif
"help:mate-user-guide/goscustaccess-6",
gtk_get_current_event_time(),
&err)) {