GNOME Bugzilla – Bug 411560
pygvfs_mime_application_new mishandles mimeapp->expects_uris
Last modified: 2007-02-24 21:54:14 UTC
pygvfs_mime_application_new has: return Py_BuildValue("sssOONO", mimeapp->id, mimeapp->name, mimeapp->command, mimeapp->can_open_multiple_files? Py_True : Py_False, mimeapp->expects_uris? Py_True : Py_False, uri_schemes, mimeapp->requires_terminal? Py_True : Py_False); However, mimeapp->expects_uris (_expects_uris with DISABLE_DEPRECATED) is of type GnomeVFSMimeApplicationArgumentType: typedef enum { GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_URIS, GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_PATHS, GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_URIS_FOR_NON_FILES } GnomeVFSMimeApplicationArgumentType;
Created attachment 83252 [details] [review] pygvfs_mime_application_new-expects_uris-enum-not-bool.patch Patch.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.