summaryrefslogtreecommitdiff
path: root/src/ui/menu.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-25 21:26:11 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-25 21:26:11 +0100
commitd01ea186be7abed6593d95dc234c6d0ea88916ca (patch)
treea6df6b281fd911280713d0d3691c84b43f00a048 /src/ui/menu.c
parente40b7891762f54214fbd6b308e1a2291893444ed (diff)
downloadmarco-d01ea186be7abed6593d95dc234c6d0ea88916ca.tar.bz2
marco-d01ea186be7abed6593d95dc234c6d0ea88916ca.tar.xz
fix dprecated GtkMisc
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 b53ff3bc..54e1d6dd 100644
--- a/src/ui/menu.c
+++ b/src/ui/menu.c
@@ -304,7 +304,7 @@ static GtkWidget* menu_item_new(MenuItem* menuitem, int workspace_id)
meta_core_get_menu_accelerator (menuitem->op, workspace_id, &key, &mods);
accel_label = meta_accel_label_new_with_mnemonic (i18n_label);
-#if GTK_CHECK_VERSION (3, 14, 0)
+#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_halign (accel_label, GTK_ALIGN_START);
#else
gtk_misc_set_alignment (GTK_MISC (accel_label), 0.0, 0.5);