diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-04 15:36:16 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-04 15:57:25 +0300 |
commit | e00996a983a4d217a79c52e85ce2c7918ce1baea (patch) | |
tree | 75be4400db3af0cd9e4ad0e57c26c41f25b89994 | |
parent | e6509643d3fe2024108a32b817d35d4c9ec3997e (diff) | |
download | metacity-e00996a983a4d217a79c52e85ce2c7918ce1baea.tar.gz |
fixedtip.c: don't use deprecated GtkMisc
-rw-r--r-- | src/ui/fixedtip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/fixedtip.c b/src/ui/fixedtip.c index bf21515b..5030a99a 100644 --- a/src/ui/fixedtip.c +++ b/src/ui/fixedtip.c @@ -102,7 +102,8 @@ meta_fixed_tip_show (int screen_number, label = gtk_label_new (NULL); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); - gtk_misc_set_alignment (GTK_MISC (label), 0.5, 0.5); + gtk_widget_set_halign (label, GTK_ALIGN_CENTER); + gtk_widget_set_valign (label, GTK_ALIGN_CENTER); gtk_widget_show (label); gtk_container_add (GTK_CONTAINER (tip), label); |