summaryrefslogtreecommitdiff
path: root/capplets/windows/mate-metacity-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/windows/mate-metacity-support.c')
-rw-r--r--capplets/windows/mate-metacity-support.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/capplets/windows/mate-metacity-support.c b/capplets/windows/mate-metacity-support.c
index 43518759..ec9ca7aa 100644
--- a/capplets/windows/mate-metacity-support.c
+++ b/capplets/windows/mate-metacity-support.c
@@ -56,9 +56,8 @@ mate_metacity_config_tool ()
widget = gtk_label_new (str);
g_free (str);
gtk_label_set_use_markup (GTK_LABEL (widget), TRUE);
-#if GTK_CHECK_VERSION (3, 0, 0)
- gtk_widget_set_halign (widget, GTK_ALIGN_START);
- gtk_widget_set_valign (widget, GTK_ALIGN_CENTER);
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (widget), 0.0);
#else
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
#endif