Changes between Initial Version and Version 1 of Ticket #4530, comment 9
- Timestamp:
- 08/15/2013 08:51:35 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4530, comment 9
initial v1 1 1 Oh, it looks like mime.get_mime_parents() is actually already using list_parents(). I think the real problem is the annotation on xdg_mime_list_parents. It should be transfer container, not transfer full. In fact that function duplicates only the array, not the strings it contains. The following fixes the issue for me 2 2 3 - * Return value: (array zero-terminated=1) (transfer full): 4 + * Return value: (transfer container): 3 {{{ 4 - * Return value: (array zero-terminated=1) (transfer full): 5 + * Return value: (transfer container): 6 }}} 5 7 6 8 At least it fixes mime.get_mime_parents("text/xml"), which is crashing without that change for me (after running it a couple of times).