summaryrefslogtreecommitdiff
path: root/capplets/keyboard
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-15 12:13:43 +0300
committermonsta <[email protected]>2016-01-15 13:26:42 +0300
commita632460eead10a87a9e24007bc911ab746c2a5b8 (patch)
tree7c6710a6fc6b38ee782027a3c46908d1a78ba3e4 /capplets/keyboard
parent8e1443b4ad874e55f77e30c92e88da0695c4571f (diff)
downloadmate-control-center-a632460eead10a87a9e24007bc911ab746c2a5b8.tar.bz2
mate-control-center-a632460eead10a87a9e24007bc911ab746c2a5b8.tar.xz
[GTK+3] keyboard: fix deprecated usage of GtkVBox
Diffstat (limited to 'capplets/keyboard')
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkbot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkbot.c b/capplets/keyboard/mate-keyboard-properties-xkbot.c
index 5d4ee614..90301082 100644
--- a/capplets/keyboard/mate-keyboard-properties-xkbot.c
+++ b/capplets/keyboard/mate-keyboard-properties-xkbot.c
@@ -327,7 +327,11 @@ xkb_options_add_group (XklConfigRegistry * config_registry,
g_free (titlemarkup);
align = gtk_alignment_new (0, 0, 1, 1);
gtk_alignment_set_padding (GTK_ALIGNMENT (align), 6, 12, 12, 0);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
+#else
vbox = gtk_vbox_new (TRUE, 6);
+#endif
gtk_container_add (GTK_CONTAINER (align), vbox);
gtk_container_add (GTK_CONTAINER (current_expander), align);