[gtk/wip/matthiasc/popup: 4/4] widget: add popups to not-visible list
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup: 4/4] widget: add popups to not-visible list
- Date: Sun, 24 Feb 2019 13:21:24 +0000 (UTC)
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]