Commit 44a9b1c3 authored by Tristan Van Berkom's avatar Tristan Van Berkom

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.
parent a28295a7
......@@ -9255,7 +9255,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);
......
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