mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
gtkwindowgroup: Take default group into account when listing windows
Otherwise, no windows belong to the default group, paradoxically.
This commit is contained in:
parent
777fd92eba
commit
2a877a9be5
@ -202,7 +202,7 @@ gtk_window_group_list_windows (GtkWindowGroup *window_group)
|
||||
{
|
||||
GtkWindow *window = toplevel->data;
|
||||
|
||||
if (window_group == _gtk_window_get_window_group (window))
|
||||
if (window_group == gtk_window_get_group (window))
|
||||
group_windows = g_list_prepend (group_windows, window);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user