summaryrefslogtreecommitdiff
path: root/tests/testgmenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-13 07:28:20 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-13 07:43:21 -0400
commit7840bad5d78664f47c19d019d5d4614aec19e7ea (patch)
treedcd6a94ec7e07a33b1bb8515438a06ab785d8e78 /tests/testgmenu.c
parent49188aeeda44d122b734cb51eecebb915f284b10 (diff)
downloadgtk+-7840bad5d78664f47c19d019d5d4614aec19e7ea.tar.gz
Drop most uses of GtkMisc in tests
Replace them by GtkWidget h/valign. The only remaining uses are those where a size group is involved; they can't be replaced until GtkLabel stops looking at GtkMisc alignment for size allocation.
Diffstat (limited to 'tests/testgmenu.c')
-rw-r--r--tests/testgmenu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/testgmenu.c b/tests/testgmenu.c
index 94a21fe8a1..01ab461f05 100644
--- a/tests/testgmenu.c
+++ b/tests/testgmenu.c
@@ -294,11 +294,6 @@ append_items_from_model (GtkWidget *menu,
gtk_widget_show (w);
gtk_widget_set_sensitive (w, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), w);
-#if 0
- /* FIXME: this interferes with toggle spacing */
- w = gtk_bin_get_child (GTK_BIN (w));
- gtk_misc_set_alignment (GTK_MISC (w), 0.5, 0.5);
-#endif
}
for (i = 0; i < n; i++)