mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +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
66619ed690
commit
569fa380e5
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];
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue