Skip to content
Commit 48aa3ee7 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

SearchContext: clear search if buffer is destroyed

Ideally we should call clear_search() (and thus removing the idle
function) _when_ the buffer is destroyed, that is, in a GWeakNotify
callback (i.e. use g_object_weak_ref() instead of
g_object_add_weak_pointer() when setting the buffer). But there is a bug
in GObject that prevents doing this, see:
https://bugzilla.gnome.org/show_bug.cgi?id=745678
parent 9fc2efa9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment