From: Matthias Clasen Date: Thu, 30 Mar 2023 13:05:33 +0000 (-0400) Subject: testsuite: Clean up some exclusions X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~479^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=87f9e8a4c1916667047a444d7aadf0b523efb85e;p=gtk4.git testsuite: Clean up some exclusions Drop some exclusions from the notify test. The tests work fine for these objects. --- diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c index 9907851c5d..9585fc421e 100644 --- a/testsuite/gtk/notify.c +++ b/testsuite/gtk/notify.c @@ -376,11 +376,6 @@ test_type (gconstpointer data) if (g_str_equal (g_type_name (type), "GdkPixbufSimpleAnim")) return; - /* Deprecated, not getting fixed */ - if (g_str_equal (g_type_name (type), "GtkColorSelection") || - g_str_equal (g_type_name (type), "GtkNumerableIcon")) - return; - /* These can't be freely constructed/destroyed */ if (g_type_is_a (type, GTK_TYPE_APPLICATION) || g_type_is_a (type, GDK_TYPE_PIXBUF_LOADER) || @@ -396,30 +391,15 @@ test_type (gconstpointer data) g_str_equal (g_type_name (type), "GdkX11GLContext")) return; - /* This throws a critical when the connection is dropped */ - if (g_type_is_a (type, GTK_TYPE_APP_CHOOSER_DIALOG)) - return; - /* These leak their GDBusConnections */ if (g_type_is_a (type, GTK_TYPE_FILE_CHOOSER_DIALOG) || g_type_is_a (type, GTK_TYPE_FILE_CHOOSER_WIDGET) || g_type_is_a (type, GTK_TYPE_FILE_CHOOSER_NATIVE)) return; - if (g_str_equal (g_type_name (type), "GtkPlacesSidebar")) - return; - if (g_type_is_a (type, GTK_TYPE_STACK_PAGE)) return; - /* These rely on a d-bus session bus */ - if (g_type_is_a (type, GTK_TYPE_MOUNT_OPERATION)) - return; - - /* Needs a special surface */ - if (g_type_is_a (type, GTK_TYPE_DRAG_ICON)) - return; - /* these assert in constructed */ if (g_type_is_a (type, GTK_TYPE_ALTERNATIVE_TRIGGER) || g_type_is_a (type, GTK_TYPE_SIGNAL_ACTION) ||