diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-25 21:26:11 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-25 21:26:11 +0100 |
commit | d01ea186be7abed6593d95dc234c6d0ea88916ca (patch) | |
tree | a6df6b281fd911280713d0d3691c84b43f00a048 /src/ui/fixedtip.c | |
parent | e40b7891762f54214fbd6b308e1a2291893444ed (diff) | |
download | marco-d01ea186be7abed6593d95dc234c6d0ea88916ca.tar.bz2 marco-d01ea186be7abed6593d95dc234c6d0ea88916ca.tar.xz |
fix dprecated GtkMisc
Diffstat (limited to 'src/ui/fixedtip.c')
-rw-r--r-- | src/ui/fixedtip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/fixedtip.c b/src/ui/fixedtip.c index cc8f7b05..7cdf014e 100644 --- a/src/ui/fixedtip.c +++ b/src/ui/fixedtip.c @@ -154,9 +154,9 @@ meta_fixed_tip_show (int screen_number, label = gtk_label_new (NULL); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); -#if GTK_CHECK_VERSION (3, 14, 0) - gtk_widget_set_halign (label, GTK_ALIGN_CENTER); - gtk_widget_set_valign (label, GTK_ALIGN_CENTER); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (label), 0.5); + gtk_label_set_yalign (GTK_LABEL (label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (label), 0.5, 0.5); #endif |