[gtk] notify test: Omit GtkStackPage::position



commit 038a9b2b849b29be3cabd8cd6d8170eaa0ac2cc8
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 8 09:04:08 2019 -0500

    notify test: Omit GtkStackPage::position
    
    We can't change positions without a stack.

 testsuite/gtk/notify.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 238e299150..228195b2d3 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -555,6 +555,10 @@ test_type (gconstpointer data)
           g_str_equal (pspec->name, "visible-child-name"))
         continue;
 
+      if (pspec->owner_type == GTK_TYPE_STACK_PAGE && /* Can't change position without a stack */
+          g_str_equal (pspec->name, "position"))
+        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]