testsuite: Fix DragContext => Drag renaming

This commit is contained in:
Benjamin Otte 2018-07-14 19:02:42 +02:00
parent 5f7e093168
commit 5d9d73b090
2 changed files with 2 additions and 2 deletions

View File

@ -412,7 +412,7 @@ test_type (gconstpointer data)
instance = g_object_new (type, "display", display, NULL);
else if (g_str_equal (g_type_name (type), "GdkClipboard"))
instance = g_object_new (type, "display", display, NULL);
else if (g_str_equal (g_type_name (type), "GdkDragContext"))
else if (g_str_equal (g_type_name (type), "GdkDrag"))
{
GdkContentFormats *formats = gdk_content_formats_new_for_gtype (G_TYPE_STRING);
instance = g_object_new (type,

View File

@ -54,7 +54,7 @@ test_finalize_object (gconstpointer data)
if (g_str_equal (g_type_name (test_type), "GdkClipboard"))
object = g_object_new (test_type, "display", gdk_display_get_default (), NULL);
else if (g_str_equal (g_type_name (test_type), "GdkDragContext") ||
else if (g_str_equal (g_type_name (test_type), "GdkDrag") ||
g_str_equal (g_type_name (test_type), "GdkDrop"))
{
GdkContentFormats *formats = gdk_content_formats_new_for_gtype (G_TYPE_STRING);