GNOME Bugzilla – Bug 786168
mime-actions: null-check app info
Last modified: 2017-08-11 19:16:30 UTC
When deciding on the activation action, the code checks if Nautilus is the default handler for archives. There are cases when the returned application info is invalid, e.g. for application/octet-stream.
Created attachment 357432 [details] [review] mime-actions: null-check app info
Review of attachment 357432 [details] [review]: Thanks! ::: src/nautilus-mime-actions.c @@ +717,2 @@ app_info = nautilus_mime_get_default_application_for_file (file); + /* This will be usually be null for octet streams. */ "be usually be" -> will usually be. But the comment is not necesary, NULL is just expected and part of the API, it's just my fault.
Attachment 357432 [details] pushed as cd78b1c - mime-actions: null-check app info