summaryrefslogtreecommitdiff
path: root/src/ui/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/menu.c')
-rw-r--r--src/ui/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/menu.c b/src/ui/menu.c
index e989b526..b53ff3bc 100644
--- a/src/ui/menu.c
+++ b/src/ui/menu.c
@@ -305,7 +305,7 @@ static GtkWidget* menu_item_new(MenuItem* menuitem, int workspace_id)
accel_label = meta_accel_label_new_with_mnemonic (i18n_label);
#if GTK_CHECK_VERSION (3, 14, 0)
- gtk_label_set_xalign (GTK_LABEL (accel_label), 0.0);
+ gtk_widget_set_halign (accel_label, GTK_ALIGN_START);
#else
gtk_misc_set_alignment (GTK_MISC (accel_label), 0.0, 0.5);
#endif