Merge branch 'varunrmallya/issue132' into 'master'

sysprof: fix about sysprof window error in greeter window

Closes #132

See merge request GNOME/sysprof!118
This commit is contained in:
Christian Hergert
2025-01-27 23:03:52 +00:00

View File

@ -147,6 +147,13 @@ sysprof_about (GSimpleAction *action,
g_assert (variant == NULL);
windows = gtk_application_get_windows (app);
if (windows == NULL)
{
g_warning ("No windows found to show about dialog");
}
else
best_toplevel = windows->data;
for (; windows != NULL; windows = windows->next)
{