Skip to content

lib: Handle g_app_info_get_executable() potentially returning NULL

Philip Withnall requested to merge desktop-file-exec into main

It can do so for a desktop file which has no Exec= key, which can happen if it is DBusActivatable=true and doesn’t define a fallback.

GLib’s docs are yet to be updated to reflect this — see https://gitlab.gnome.org/GNOME/glib/-/issues/2974.

Signed-off-by: Philip Withnall pwithnall@gnome.org Fixes: #66 (closed)

Merge request reports