mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
Fixed statement in gtkwindow.c when toplevelness changes.
Fixed a typo when checking if the heirarchy toplevel is a toplevel before firing the hierarchy-changed signal.
This commit is contained in:
parent
4d795437f1
commit
0b0d41dc58
@ -9256,7 +9256,7 @@ _gtk_window_set_is_toplevel (GtkWindow *window,
|
||||
* things happen differently.
|
||||
*/
|
||||
toplevel = gtk_widget_get_toplevel (widget);
|
||||
if (!gtk_widget_is_toplevel (widget))
|
||||
if (!gtk_widget_is_toplevel (toplevel))
|
||||
toplevel = NULL;
|
||||
|
||||
_gtk_widget_set_is_toplevel (widget, TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user