GNOME Bugzilla – Bug 595972
possibly invalid search in mime_info_cache_dir_add_desktop_entries()
Last modified: 2009-09-30 00:55:40 UTC
mime_info_cache_dir_add_desktop_entries() contains: g_list_find (desktop_file_ids, new_desktop_file_ids[i]) But new_desktop_file_ids is an array of strings and all strings are g_strdup()ed before inserting to the list. It seems, that this g_list_find() always returns NULL. Guessing that the correct should be: g_list_find_custom (desktop_file_ids, new_desktop_file_ids[i], strcmp)
Bug 596192 provides a more complex patch including a fix of this bug.