[gtk: 85/88] testsuite/notify: Don't fiddle with GtkWidget::visible




commit 130ff5f841f337c3cfd0bb4fcd4b2581d3d82235
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Mon Dec 7 22:41:36 2020 +0100

    testsuite/notify: Don't fiddle with GtkWidget::visible
    
    It may map toplevel windows with arbitrary modes, which will effect
    other properties, such as GtkWindow::maximized and
    GtkWindow::fullscreen.

 testsuite/gtk/notify.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 12ae9edb89..7809d4e915 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -524,7 +524,8 @@ test_type (gconstpointer data)
            g_str_equal (pspec->name, "has-default") ||
            g_str_equal (pspec->name, "is-focus") ||
            g_str_equal (pspec->name, "hexpand") ||
-           g_str_equal (pspec->name, "vexpand")))
+           g_str_equal (pspec->name, "vexpand") ||
+           g_str_equal (pspec->name, "visible")))
         continue;
 
       if (g_type_is_a (type, GTK_TYPE_ACCESSIBLE) &&


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