mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
broadway: Stop using surface type
This commit is contained in:
parent
0616fe033d
commit
df223ae27b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user