[gtk/wip/matthiasc/popup: 4/4] widget: add popups to not-visible list



commit cdc8967c7d7f0102b79fd18ce351310896205a58
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 24 08:19:05 2019 -0500

    widget: add popups to not-visible list

 gtk/gtkwidget.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index a5f84c9137..707c6119ed 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -52,6 +52,7 @@
 #include "gtkmarshalers.h"
 #include "gtkmenu.h"
 #include "gtkpopover.h"
+#include "gtkpopup.h"
 #include "gtkprivate.h"
 #include "gtkrenderbackgroundprivate.h"
 #include "gtkrenderborderprivate.h"
@@ -12076,6 +12077,7 @@ 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_POPUP_CLASS (widget_class) ||
            GTK_IS_POPOVER_CLASS (widget_class));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]