diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-06-21 13:57:20 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-06-21 17:56:34 +0200 |
commit | f44b9ef1f0b9bce88f01b258714338a9006f60e1 (patch) | |
tree | 865e964539230f55d34a5bb0738aca8406e16ee3 /build | |
parent | 3b98a2d93596aac73efa91a04042b66fda8ec823 (diff) | |
download | gtk+-f44b9ef1f0b9bce88f01b258714338a9006f60e1.tar.gz |
GtkColorEditor: Keep ref on pre-popup focus widget
And ensure it's still visible before returning the keyboard focus to it.
Because of the extra ref, add a dispose handler that will ensure the
ref is lost (by popping down), although this should be already ensured
through other paths (eg. when the popup widget loses visibility).
This fixes a possible crash in dispose paths, where we might be restoring
focus on an already destroyed widget, and at a time where, if the toplevel
is being itself disposed, no new focus should be set.
https://bugzilla.gnome.org/show_bug.cgi?id=767849
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions