Removed additional places where gtk_widget_show_all was called and was not found to be necessary (since the parent has gtk_widget_show_all called when it's finished binding)

This commit is contained in:
nathan 2018-10-23 18:07:06 +02:00
parent 1b2ff4fa8b
commit 507c3dd846

View File

@ -61,7 +61,6 @@ class GtkBaseMenuItem implements EntryPeer {
if (spacerImage != null) {
Gtk2.gtk_container_remove(_native, spacerImage); // will automatically get destroyed if no other references to it
spacerImage = null;
Gtk2.gtk_widget_show_all(_native);
}
}
@ -102,8 +101,6 @@ class GtkBaseMenuItem implements EntryPeer {
if (everyoneElseHasImages) {
addSpacerImage();
}
Gtk2.gtk_widget_show_all(_native);
}
// some GTK libraries DO NOT let us add items AFTER the menu has been attached to the indicator.