[gtk/present-toplevel-2: 30/59] broadway: Stop using surface type
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/present-toplevel-2: 30/59] broadway: Stop using surface type
- Date: Thu, 12 Mar 2020 18:59:56 +0000 (UTC)
commit 7b2646a9db4d7add353ad41368c7d3266a2962bd
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Mar 9 08:00:26 2020 -0700
broadway: Stop using surface type
gdk/broadway/gdksurface-broadway.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gdk/broadway/gdksurface-broadway.c b/gdk/broadway/gdksurface-broadway.c
index 51ed17e165..feb28ea297 100644
--- a/gdk/broadway/gdksurface-broadway.c
+++ b/gdk/broadway/gdksurface-broadway.c
@@ -238,7 +238,6 @@ _gdk_broadway_display_create_surface (GdkDisplay *display,
}
surface = g_object_new (type,
- "surface-type", surface_type,
"display", display,
"frame-clock", frame_clock,
NULL);
@@ -259,7 +258,7 @@ _gdk_broadway_display_create_surface (GdkDisplay *display,
surface->y,
surface->width,
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);
if (!surface->parent)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]