broadway: Stop using surface type

This commit is contained in:
Matthias Clasen 2020-03-09 08:00:26 -07:00
parent 0616fe033d
commit df223ae27b

View File

@ -238,7 +238,6 @@ _gdk_broadway_display_create_surface (GdkDisplay *display,
} }
surface = g_object_new (type, surface = g_object_new (type,
"surface-type", surface_type,
"display", display, "display", display,
"frame-clock", frame_clock, "frame-clock", frame_clock,
NULL); NULL);
@ -259,7 +258,7 @@ _gdk_broadway_display_create_surface (GdkDisplay *display,
surface->y, surface->y,
surface->width, surface->width,
surface->height, surface->height,
surface->surface_type == GDK_SURFACE_TEMP); surface_type == GDK_SURFACE_TEMP);
g_hash_table_insert (broadway_display->id_ht, GINT_TO_POINTER(impl->id), surface); g_hash_table_insert (broadway_display->id_ht, GINT_TO_POINTER(impl->id), surface);
if (!surface->parent) if (!surface->parent)