Commit 64f6806e authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

end-session-dialog: ignore invalid inhibitor
parent 0cbb0758
......@@ -295,6 +295,9 @@ add_inhibitor (GfInhibitDialog *dialog,
name = NULL;
pixbuf = NULL;
if (app_id == NULL)
if (!IS_STRING_EMPTY (app_id))
if (!g_str_has_suffix (app_id, ".desktop"))
Supports Markdown
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