mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
Remove a redundant test
This commit is contained in:
parent
b893247eeb
commit
acbda82199
@ -180,7 +180,7 @@ gtk_application_menu_button_hierarchy_changed (GtkWidget *widget,
|
||||
|
||||
toplevel = gtk_widget_get_toplevel (widget);
|
||||
|
||||
if (toplevel != NULL && GTK_IS_APPLICATION_WINDOW (toplevel))
|
||||
if (GTK_IS_APPLICATION_WINDOW (toplevel))
|
||||
gtk_application_window_set_show_app_menu (GTK_APPLICATION_WINDOW (toplevel), FALSE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user