summaryrefslogtreecommitdiff
path: root/src/ui/menu.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-02 22:42:21 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-02 22:42:21 +0100
commitd62e47b12e49500884839a14bb816babbf3ecdd7 (patch)
tree4c774eb2a843081e54a74fdd445a06509827f24b /src/ui/menu.c
parente84228adee604e1d01dde545c3afd10c1025c508 (diff)
downloadmarco-d62e47b12e49500884839a14bb816babbf3ecdd7.tar.bz2
marco-d62e47b12e49500884839a14bb816babbf3ecdd7.tar.xz
GTK3: fix GtkMisc deprecation fixes for gtk+-3.14
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