mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
sysprof: fix about sysprof window error in greeter window
This commit is contained in:
@ -147,6 +147,13 @@ sysprof_about (GSimpleAction *action,
|
|||||||
g_assert (variant == NULL);
|
g_assert (variant == NULL);
|
||||||
|
|
||||||
windows = gtk_application_get_windows (app);
|
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)
|
for (; windows != NULL; windows = windows->next)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user