Changes between Initial Version and Version 1 of Ticket #4530, comment 9


Ignore:
Timestamp:
08/15/2013 08:51:35 (11 years ago)
Author:
dnarvaez
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4530, comment 9

    initial v1  
    11Oh, 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
    22
    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}}}
    57
    68At least it fixes mime.get_mime_parents("text/xml"), which is crashing without that change for me (after running it a couple of times).