diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-02-05 16:52:53 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-02-05 16:55:07 -0500 |
commit | a75dcce70736490c5404297a1a1f50f653343ec6 (patch) | |
tree | a7504b563721479ace0e22439face9a4855e2ef7 | |
parent | 785373ce2a85243e034cc89ff74de28d90aad6ca (diff) | |
download | gtk+-a75dcce70736490c5404297a1a1f50f653343ec6.tar.gz |
Make the invisible invisible
The change to make widgets visible by default broke GtkInvisibles
special-cased state handling and that in turn caused picking in
the inspector to break with another recent change.
This change makes the inspector pick button work again.
-rw-r--r-- | gtk/gtkwidget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index b6d3026c32..782888e310 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -11983,6 +11983,7 @@ static gboolean gtk_widget_class_get_visible_by_default (GtkWidgetClass *widget_class) { return !(GTK_IS_WINDOW_CLASS (widget_class) || + GTK_IS_INVISIBLE_CLASS (widget_class) || GTK_IS_POPOVER_CLASS (widget_class)); } |