summaryrefslogtreecommitdiff
path: root/capplets/keyboard/mate-keyboard-properties-xkbltadd.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/keyboard/mate-keyboard-properties-xkbltadd.c')
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkbltadd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkbltadd.c b/capplets/keyboard/mate-keyboard-properties-xkbltadd.c
index 3a079e83..7ec09919 100644
--- a/capplets/keyboard/mate-keyboard-properties-xkbltadd.c
+++ b/capplets/keyboard/mate-keyboard-properties-xkbltadd.c
@@ -545,11 +545,7 @@ xkb_layout_choose (GtkBuilder * dialog)
} else
#endif
{
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_hide (CWID ("vboxPreview"));
-#else
- gtk_widget_hide_all (CWID ("vboxPreview"));
-#endif
gtk_widget_hide (CWID ("btnPrint"));
}