Kaydet (Commit) aaca25d6 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

loplugin:implicitboolconversion

Change-Id: I5278a44d9d492d04618068afd1610358bb4b4d5c
üst 21edff2a
......@@ -121,7 +121,7 @@ void RemoveDisabledItemsFromNativeMenu(GLOMenu* pMenu, GList** pOldCommandList,
{
gchar* pCommand = g_lo_menu_get_command_from_item_in_section(pMenu, nSection, nSectionItems);
// remove disabled entries
bool bRemove = g_action_group_get_action_enabled(pActionGroup, pCommand) == false;
bool bRemove = g_action_group_get_action_enabled(pActionGroup, pCommand) == FALSE;
if (!bRemove)
{
//also remove any empty submenus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment