summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-04-21 01:22:19 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-24 23:16:58 +0200
commit48fc18c37b290f1d4ed57dccce152b75b0232f01 (patch)
tree43b155c80d030965cdae007cf0797322b43185bf /testsuite
parentc6ae0ff2d134c57a5ccdbb9a4f04479795e3dc48 (diff)
downloadgtk+-48fc18c37b290f1d4ed57dccce152b75b0232f01.tar.gz
gdk: Get rid of GdkDrawingContext
All information is kept in GdkDrawContext these days, so use that one.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gtk/defaultvalue.c1
-rw-r--r--testsuite/gtk/notify.c1
-rw-r--r--testsuite/gtk/objects-finalize.c1
3 files changed, 0 insertions, 3 deletions
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]));