[gtk/wip/matthiasc/popup5: 118/120] testsuite: Fix popover-related failures



commit 84fc31995b5fa1b3c6f01478641d041a2637dc45
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 18 14:22:29 2019 +0000

    testsuite: Fix popover-related failures

 testsuite/gtk/notify.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 40c16cb746..99b8f82ae8 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -560,6 +560,11 @@ test_type (gconstpointer data)
           g_str_equal (pspec->name, "position"))
         continue;
 
+      /* Can't realize a popover without a parent */
+      if (g_type_is_a (type, GTK_TYPE_POPOVER) &&
+          g_str_equal (pspec->name, "visible"))
+        continue;
+
       if (pspec->owner_type == GTK_TYPE_POPOVER_MENU &&
           g_str_equal (pspec->name, "visible-submenu"))
         continue;


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