mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
Menu: Remove redundant typecheck in private func
Everything that calls this already ensured we are a valid GtkMenu.
This commit is contained in:
parent
8fd0ee96a6
commit
4fae962a03
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user