Oh, I'm wrong about search_thread_add_hits_idle, as the object is ref'ed before the idle callback is added. Which is a bit strange, but works (I'd provide a search_hits_data_free that unrefs the -> recent and just use that on the entire search_hits).
The recent_thread_func clearly is an oversight though.
Oh, I'm wrong about search_ thread_ add_hits_ idle, as the object is ref'ed before the idle callback is added. Which is a bit strange, but works (I'd provide a search_ hits_data_ free that unrefs the -> recent and just use that on the entire search_hits).
The recent_thread_func clearly is an oversight though.