Commit 30405ee6 authored by Daniel Boles's avatar Daniel Boles

Menu: Remove redundant typecheck in private func

Everything that calls this already ensured we are a valid GtkMenu.
parent b5cc0d8f
......@@ -2814,7 +2814,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)
{
......
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