Skip to content

startup: Fix possible crash in startup notifications

Benjamin Berg requested to merge benzea/fix-notification-crash into master

I ran into this while looking into gnome-shell#3025.

A GAppInfo is not guaranteed to have a filename or an application (or rather a desktop ID). Add a check for application_id to be non-NULL before trying to call sn_launcher_set_application_id, which would crash otherwise.

Merge request reports