Same thing for win32

master
Yevgen Muntyan 2007-07-31 08:03:51 -05:00
parent 6f50086710
commit 2ccf144fc8
1 changed files with 3 additions and 0 deletions

View File

@ -481,6 +481,9 @@ _moo_get_top_window (GSList *windows)
g_return_val_if_fail (windows != NULL, NULL);
if (!windows->next)
return windows->data;
for (l = windows; l != NULL; l = l->next)
{
g_return_val_if_fail (GTK_IS_WINDOW (l->data), NULL);