[gtk+] Skip GdkDrawingContext in default value tests



commit d9c07c0a6afc5fb5eae1ae8148f520b59b53937c
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 2 22:32:25 2016 -0400

    Skip GdkDrawingContext in default value tests
    
    GdkDrawingContext objects can't be freely constructed.

 testsuite/gtk/defaultvalue.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index dba4585..82b6409 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -77,6 +77,7 @@ test_type (gconstpointer data)
   /* 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) ||
+      g_type_is_a (type, GDK_TYPE_DRAWING_CONTEXT) ||
 #ifdef G_OS_UNIX
       g_type_is_a (type, GTK_TYPE_PRINT_JOB) ||
 #endif


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