[vlc-devel] commit: macosx: Remove VLCApplication Hack. No need for that we properly do everything related to libvlc kill elsewhere . (Pierre d'Herbemont )

Derk-Jan Hartman hartman at videolan.org
Mon Aug 18 01:10:51 CEST 2008


The hacks for this used to be in place i think for the Quit from the  
Dockmenu. If i remember correctly it behaved differently compared to  
other Quit patterns. I'm not sure if or on which OS versions they are/ 
might still be necessary.

DJ

On 17 aug 2008, at 13:44, git version control wrote:
> vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org>  
> | Sun Aug 17 13:33:19 2008 +0200|  
> [2c01440d37625c8a30ea1c8cf2a2e1f7b4750aa4] | committer: Pierre  
> d'Herbemont
>
> macosx: Remove VLCApplication Hack. No need for that we properly do  
> everything related to libvlc kill elsewhere.
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c01440d37625c8a30ea1c8cf2a2e1f7b4750aa4
> ---
>
> modules/gui/macosx/intf.m |    4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
> index 1d9896f..1bbf3b2 100644
> --- a/modules/gui/macosx/intf.m
> +++ b/modules/gui/macosx/intf.m
> @@ -136,9 +136,7 @@ static void Run( intf_thread_t *p_intf )
>
>     /* Install a jmpbuffer to where we can go back before the NSApp  
> exit
>      * see applicationWillTerminate: */
> -    /* We need that code to run on main thread */
> -    [VLCApplication sharedApplication];
> -    [NSApp setVLC: p_intf->p_libvlc];
> +    [NSApplication sharedApplication];
>
>     [[VLCMain sharedInstance] setIntf: p_intf];
>     [NSBundle loadNibNamed: @"MainMenu" owner: NSApp];
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>




More information about the vlc-devel mailing list