summaryrefslogtreecommitdiff
path: root/libslab/tile-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'libslab/tile-action.c')
-rw-r--r--libslab/tile-action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libslab/tile-action.c b/libslab/tile-action.c
index 8066b52f..886dec8a 100644
--- a/libslab/tile-action.c
+++ b/libslab/tile-action.c
@@ -83,9 +83,9 @@ tile_action_set_menu_item_label (TileAction * this, const gchar * markup)
{
label = gtk_label_new (markup);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
-#if GTK_CHECK_VERSION (3, 0, 0)
- gtk_widget_set_halign (label, GTK_ALIGN_START);
- gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (label), 0.0);
+ gtk_label_set_yalign (GTK_LABEL (label), 0.5);
#else
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
#endif