summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
index e383ebd..fa8d0df 100644
--- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
@@ -202,8 +202,7 @@ get_xkb_desc_rec (MsdA11yKeyboardManager *manager)
}
gdk_x11_display_error_trap_pop_ignored (display);
- g_return_val_if_fail (desc != NULL, NULL);
- g_return_val_if_fail (desc->ctrls != NULL, NULL);
+ g_return_val_if_fail (desc != NULL && desc->ctrls != NULL, NULL);
g_return_val_if_fail (status == Success, NULL);
return desc;