From 7a6f98c0384c6a41f6623f02ac88614f6af5b228 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 27 Jun 2015 22:44:09 +0200 Subject: [PATCH] PsppireMeansLayer: Remove useless widget Not only did this GtkAlignment not do anything, but it is also deprecated in Gtk3 --- src/ui/gui/psppire-means-layer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ui/gui/psppire-means-layer.c b/src/ui/gui/psppire-means-layer.c index f1ed2e245f..e4fb17ac97 100644 --- a/src/ui/gui/psppire-means-layer.c +++ b/src/ui/gui/psppire-means-layer.c @@ -161,7 +161,6 @@ psppire_means_layer_init (PsppireMeansLayer *ml) { GtkWidget *hbox_upper = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); GtkWidget *hbox_lower = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); - GtkWidget *alignment = gtk_alignment_new (0, 0.5, 0, 0); GtkWidget *sw = gtk_scrolled_window_new (NULL, NULL); gtk_orientable_set_orientation (GTK_ORIENTABLE (ml), GTK_ORIENTATION_VERTICAL); @@ -190,7 +189,6 @@ psppire_means_layer_init (PsppireMeansLayer *ml) gtk_box_pack_start (GTK_BOX (hbox_upper), ml->label, TRUE, FALSE, 5); gtk_box_pack_start (GTK_BOX (hbox_upper), ml->forward, FALSE, FALSE, 5); - gtk_box_pack_start (GTK_BOX (hbox_lower), alignment, FALSE, FALSE, 5); gtk_box_pack_start (GTK_BOX (hbox_lower), sw, TRUE, TRUE, 5); gtk_container_add (GTK_CONTAINER (sw), ml->var_view); -- 2.30.2