Removed extra/un-needed gtk_widget_show_all calls

This commit is contained in:
nathan 2018-10-23 20:15:09 +02:00
parent fe9897a0df
commit 30aff354bb
3 changed files with 0 additions and 3 deletions

View File

@ -275,7 +275,6 @@ class GtkMenu extends GtkBaseMenuItem implements MenuPeer {
if (image != null) {
Gtk2.gtk_container_remove(_native, image); // will automatically get destroyed if no other references to it
image = null;
Gtk2.gtk_widget_show_all(_native);
}
if (menuItem.getImage() != null) {

View File

@ -83,7 +83,6 @@ class GtkMenuItem extends GtkBaseMenuItem implements MenuItemPeer, GCallback {
if (image != null) {
Gtk2.gtk_container_remove(_native, image); // will automatically get destroyed if no other references to it
image = null;
Gtk2.gtk_widget_show_all(_native);
}
if (menuItem.getImage() != null) {

View File

@ -274,7 +274,6 @@ class GtkMenuItemCheckbox extends GtkBaseMenuItem implements CheckboxPeer, GCall
if (checkedImage != null) {
Gtk2.gtk_container_remove(_native, checkedImage); // will automatically get destroyed if no other references to it
checkedImage = null;
Gtk2.gtk_widget_show_all(_native);
}