summaryrefslogtreecommitdiff
path: root/libslab/system-tile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libslab/system-tile.c')
-rw-r--r--libslab/system-tile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libslab/system-tile.c b/libslab/system-tile.c
index c60291c0..d05fc84a 100644
--- a/libslab/system-tile.c
+++ b/libslab/system-tile.c
@@ -242,9 +242,8 @@ create_header (const gchar *name)
header = gtk_label_new (name);
gtk_label_set_use_underline (GTK_LABEL (header), TRUE);
-#if GTK_CHECK_VERSION (3, 0, 0)
- gtk_widget_set_halign (header, GTK_ALIGN_START);
- gtk_widget_set_valign (header, GTK_ALIGN_CENTER);
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (header), 0.0);
#else
gtk_misc_set_alignment (GTK_MISC (header), 0.0, 0.5);
#endif