mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
glwindow/cocoa: remove unneeded window code in NSWindow
This is all taken care of by GstGLWindowCocoa/GstGLNSView now.
This commit is contained in:
parent
23ec5aeb83
commit
9f690fa241
1 changed files with 0 additions and 11 deletions
|
@ -438,17 +438,6 @@ gst_gl_window_cocoa_send_message_async (GstGLWindow * window,
|
||||||
|
|
||||||
[self orderOut:window_cocoa->priv->internal_win_id];
|
[self orderOut:window_cocoa->priv->internal_win_id];
|
||||||
|
|
||||||
if (window_cocoa->priv->external_view) {
|
|
||||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
|
||||||
NSView *view = [window_cocoa->priv->internal_win_id contentView];
|
|
||||||
|
|
||||||
[window_cocoa->priv->external_view addSubview: view];
|
|
||||||
[view setFrame: [window_cocoa->priv->external_view bounds]];
|
|
||||||
[view setAutoresizingMask: NSViewWidthSizable|NSViewHeightSizable];
|
|
||||||
|
|
||||||
[pool release];
|
|
||||||
}
|
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue