diff options
author | monsta <[email protected]> | 2016-01-21 14:23:18 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-21 14:32:19 +0300 |
commit | 7caecbc3b5ef05280d72d67f212ff918a13b220b (patch) | |
tree | 2773adbdd796c5f991e533c5ec7cf947eb0640cd /capplets/windows/mate-metacity-support.c | |
parent | 6b337edf80447dacfc7e05bb120c9eff30d05e3a (diff) | |
download | mate-control-center-7caecbc3b5ef05280d72d67f212ff918a13b220b.tar.bz2 mate-control-center-7caecbc3b5ef05280d72d67f212ff918a13b220b.tar.xz |
[GTK+3] windows: fix deprecated usage of Gtk{H,V}{Box,Scale}
Diffstat (limited to 'capplets/windows/mate-metacity-support.c')
-rw-r--r-- | capplets/windows/mate-metacity-support.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/windows/mate-metacity-support.c b/capplets/windows/mate-metacity-support.c index 2a30cd05..43518759 100644 --- a/capplets/windows/mate-metacity-support.c +++ b/capplets/windows/mate-metacity-support.c @@ -46,7 +46,11 @@ mate_metacity_config_tool () gtk_window_set_icon_name (GTK_WINDOW (dialog), "preferences-system-windows"); gtk_window_set_default_size (GTK_WINDOW (dialog), 350, 150); +#if GTK_CHECK_VERSION (3, 0, 0) + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); +#else vbox = gtk_vbox_new (FALSE, 6); +#endif str = g_strdup_printf ("<b>%s</b>", _("Compositing Manager")); widget = gtk_label_new (str); |