diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-12-15 15:10:08 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-12-15 15:10:08 -0500 |
commit | 06b28a610b07c1a30849195e538bc85da3623faf (patch) | |
tree | cddcaec647d0d34cdd3946b910ba84aeb8c938f1 | |
parent | 8858c3aaa0f1df899b533c61459f4f37e8928442 (diff) | |
download | gtk+-06b28a610b07c1a30849195e538bc85da3623faf.tar.gz |
flowbox: Don't render focus erroneously
The gadget render function should only return TRUE if the
widget has the focus, and wants it rendered.
-rw-r--r-- | gtk/gtkflowbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c index 2a1baac730..018804dd74 100644 --- a/gtk/gtkflowbox.c +++ b/gtk/gtkflowbox.c @@ -2767,7 +2767,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS cairo_restore (cr); } - return TRUE; + return gtk_widget_has_visible_focus (widget); } /* Autoscrolling {{{3 */ |