From 48fc18c37b290f1d4ed57dccce152b75b0232f01 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 21 Apr 2018 01:22:19 +0200 Subject: gdk: Get rid of GdkDrawingContext All information is kept in GdkDrawContext these days, so use that one. --- testsuite/gtk/defaultvalue.c | 1 - testsuite/gtk/notify.c | 1 - testsuite/gtk/objects-finalize.c | 1 - 3 files changed, 3 deletions(-) (limited to 'testsuite') diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c index 4b4c89f9d8..3ae0850868 100644 --- a/testsuite/gtk/defaultvalue.c +++ b/testsuite/gtk/defaultvalue.c @@ -77,7 +77,6 @@ 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 diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c index 3d521378dc..bf78772657 100644 --- a/testsuite/gtk/notify.c +++ b/testsuite/gtk/notify.c @@ -368,7 +368,6 @@ 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 diff --git a/testsuite/gtk/objects-finalize.c b/testsuite/gtk/objects-finalize.c index 077783c023..9ef2349231 100644 --- a/testsuite/gtk/objects-finalize.c +++ b/testsuite/gtk/objects-finalize.c @@ -116,7 +116,6 @@ main (int argc, char **argv) #endif /* Not allowed to finalize a GdkPixbufLoader without calling gdk_pixbuf_loader_close() */ all_types[i] != GDK_TYPE_PIXBUF_LOADER && - all_types[i] != GDK_TYPE_DRAWING_CONTEXT && all_types[i] != gdk_pixbuf_simple_anim_iter_get_type()) { gchar *test_path = g_strdup_printf ("/FinalizeObject/%s", g_type_name (all_types[i])); -- cgit v1.2.1