Don't test default-constructed GdkPixbuf properties
authorSimon McVittie <smcv@debian.org>
Mon, 10 Sep 2018 00:09:35 +0000 (01:09 +0100)
committerIain Lane <laney@debian.org>
Tue, 11 Sep 2018 16:33:38 +0000 (17:33 +0100)
Workaround for https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/91

Bug: https://bugs.debian.org/908439
Forwarded: no

Gbp-Pq: Name Don-t-test-default-constructed-GdkPixbuf-properties.patch

testsuite/gtk/defaultvalue.c

index d3afbb391a08106789f76b5c19b91b56835e300b..835c85e7ec5d769a2603bddb9feb6595cb7692ea 100644 (file)
@@ -484,6 +484,10 @@ main (int argc, char **argv)
       if (otypes[i] == GTK_TYPE_FILE_CHOOSER_NATIVE)
         continue;
 
+      /* https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/91 */
+      if (otypes[i] == GDK_TYPE_PIXBUF)
+        continue;
+
       testname = g_strdup_printf ("/Default Values/%s",
                                  g_type_name (otypes[i]));
       g_test_add_data_func (testname,