From 507c3dd8465a6d20883525ce8b712e970af603f6 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 23 Oct 2018 18:07:06 +0200 Subject: [PATCH] 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) --- src/dorkbox/systemTray/ui/gtk/GtkBaseMenuItem.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/dorkbox/systemTray/ui/gtk/GtkBaseMenuItem.java b/src/dorkbox/systemTray/ui/gtk/GtkBaseMenuItem.java index ee85e4f..7a9ed81 100644 --- a/src/dorkbox/systemTray/ui/gtk/GtkBaseMenuItem.java +++ b/src/dorkbox/systemTray/ui/gtk/GtkBaseMenuItem.java @@ -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.