Menu: Remove redundant typecheck in private func

Everything that calls this already ensured we are a valid GtkMenu.
This commit is contained in:
Daniel Boles 2018-04-17 19:56:13 +01:00
parent 8fd0ee96a6
commit 4fae962a03

View File

@ -2437,7 +2437,6 @@ _gtk_menu_refresh_accel_paths (GtkMenu *menu,
gboolean group_changed)
{
GtkMenuPrivate *priv = menu->priv;
g_return_if_fail (GTK_IS_MENU (menu));
if (priv->accel_path && priv->accel_group)
{