Re: Mime type monitor support Take 2



I think you need to ref the file object that's the callback pointer and then unref it in the callback. There's no guarantee the file will still be around. Or am I missing something?

Also, you need to free the attributes list after passing it to nautilus_file_invalidate_attributes to avoid leaking it.

    -- Darin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]