diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-03 22:16:47 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-04 15:57:25 +0300 |
commit | 5aeb6e922c1c8b6a76f8d8ed435fb72bf1a4e98a (patch) | |
tree | c791eae7ca45ef6082707229ae77169977746bfb | |
parent | aab7b07a194903c2a30526b940971518bfbfeeda (diff) | |
download | metacity-5aeb6e922c1c8b6a76f8d8ed435fb72bf1a4e98a.tar.gz |
tabpopup.c: don't use deprecated GtkAlignment
-rw-r--r-- | src/ui/tabpopup.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c index 6bd7d1fb..a6ca4344 100644 --- a/src/ui/tabpopup.c +++ b/src/ui/tabpopup.c @@ -219,7 +219,6 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, int height; GtkWidget *grid; GtkWidget *vbox; - GtkWidget *align; GList *tmp; GtkWidget *frame; int max_label_width; /* the actual max width of the labels we create */ @@ -300,12 +299,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, gtk_container_add (GTK_CONTAINER (frame), vbox); - align = gtk_alignment_new (0.5, 0.5, 0.0, 0.0); - - gtk_box_pack_start (GTK_BOX (vbox), align, TRUE, TRUE, 0); - - gtk_container_add (GTK_CONTAINER (align), - grid); + gtk_box_pack_start (GTK_BOX (vbox), grid, TRUE, TRUE, 0); popup->label = gtk_label_new (""); @@ -342,7 +336,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, if (te->blank) { /* just stick a widget here to avoid special cases */ - image = gtk_alignment_new (0.0, 0.0, 0.0, 0.0); + image = gtk_label_new (""); } else if (outline) { |