[gtk/present-toplevel-2: 140/178] broadway: Stop using surface type



commit e9f759564c1b88286d86d164a265095bc1aae94f
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 028ea2d703..8c094917f5 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]