summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-06 13:50:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-06 13:50:41 +0100
commit945064c0b7ad4da6e215668ae7e4edb14945f00c (patch)
tree4ca5dce79cdc4ae81634af7bac618eca646c24e3 /vcl/inc
parent8e8b51cbe2e61c60da14b0a6bae72f76f36c2503 (diff)
gtk3: getting new entries added after the menu is visible is problematic
Change-Id: Ibc2fc35c3d5315eb7d25181c2c2eba4cb5509a96
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/gtk/gtksalmenu.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx
index 9bd0a77eedc7..359ac5dd963a 100644
--- a/vcl/inc/unx/gtk/gtksalmenu.hxx
+++ b/vcl/inc/unx/gtk/gtksalmenu.hxx
@@ -97,10 +97,7 @@ public:
void NativeCheckItem( unsigned nSection, unsigned nItemPos, MenuItemBits bits, gboolean bCheck );
void NativeSetAccelerator( unsigned nSection, unsigned nItemPos, const vcl::KeyCode& rKeyCode, const OUString& rKeyName );
- void ActivateAllSubmenus()
- {
- ActivateAllSubmenus(mpVCLMenu);
- }
+ void ActivateAllSubmenus() { ActivateAllSubmenus(mpVCLMenu); }
static void DispatchCommand(const gchar* pMenuCommand);
static void Activate(const gchar* pMenuCommand);
static void Deactivate(const gchar* pMenuCommand);