summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplay.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-04-21 12:24:07 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-05-28 20:25:14 +0000
commit47fb0923930b67dc6062f70612345ef3a3d8c19b (patch)
tree667eed05d76ab7aac3b3b5e5e5338518dd1eb98f /gdk/gdkdisplay.c
parent2855729cb441c854c8493baf714d8e7b385f2a63 (diff)
downloadgtk+-47fb0923930b67dc6062f70612345ef3a3d8c19b.tar.gz
gdk: Drop GdkWindowAttr
All the information in it is already contained in the surface object we pass along, and none of the backend implementations were using the attributes at all.
Diffstat (limited to 'gdk/gdkdisplay.c')
-rw-r--r--gdk/gdkdisplay.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 3e7cb2c847..1290b78d55 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1327,13 +1327,11 @@ _gdk_display_event_data_free (GdkDisplay *display,
void
gdk_display_create_surface_impl (GdkDisplay *display,
GdkSurface *surface,
- GdkSurface *real_parent,
- GdkSurfaceAttr *attributes)
+ GdkSurface *real_parent)
{
GDK_DISPLAY_GET_CLASS (display)->create_surface_impl (display,
surface,
- real_parent,
- attributes);
+ real_parent);
}
GdkSurface *