diff options
Diffstat (limited to 'gdk/macos/gdkmacosdisplay.c')
-rw-r--r-- | gdk/macos/gdkmacosdisplay.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdk/macos/gdkmacosdisplay.c b/gdk/macos/gdkmacosdisplay.c index ed15a49bf2..6f80dad625 100644 --- a/gdk/macos/gdkmacosdisplay.c +++ b/gdk/macos/gdkmacosdisplay.c @@ -597,11 +597,7 @@ _gdk_macos_display_surface_resigned_main (GdkMacosDisplay *self, static GdkSurface * gdk_macos_display_create_surface (GdkDisplay *display, GdkSurfaceType surface_type, - GdkSurface *parent, - int x, - int y, - int width, - int height) + GdkSurface *parent) { GdkMacosDisplay *self = (GdkMacosDisplay *)display; GdkMacosSurface *surface; @@ -609,7 +605,7 @@ gdk_macos_display_create_surface (GdkDisplay *display, g_assert (GDK_IS_MACOS_DISPLAY (self)); g_assert (!parent || GDK_IS_MACOS_SURFACE (parent)); - surface = _gdk_macos_surface_new (self, surface_type, parent, x, y, width, height); + surface = _gdk_macos_surface_new (self, surface_type, parent); if (surface != NULL) _gdk_macos_display_surface_added (self, surface); |