Commit f0a708ea authored by Sam Hocevar's avatar Sam Hocevar

* modules/gui/skins/src/skin_main.cpp, modules/gui/wxwindows/wxwindows.cpp:

    Do not unload the WxWindows plugins on Unix, because they might be linked
    with Gtk which makes evil use of atexit().
parent b861cc00
......@@ -2,7 +2,7 @@
* skin-main.cpp: skins plugin for VLC
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: skin_main.cpp,v 1.42 2003/06/23 20:35:36 asmax Exp $
* $Id: skin_main.cpp,v 1.43 2003/07/05 15:35:28 sam Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
......@@ -367,6 +367,9 @@ vlc_module_begin();
set_description( _("Skinnable Interface") );
set_capability( "interface", 30 );
set_callbacks( Open, Close );
#if !defined(WIN32) && !defined(MODULE_NAME_IS_basic_skins)
linked_with_a_crap_library_which_uses_atexit();
#endif
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* wxwindows.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: wxwindows.cpp,v 1.16 2003/06/05 21:22:28 gbazin Exp $
* $Id: wxwindows.cpp,v 1.17 2003/07/05 15:35:28 sam Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -86,6 +86,9 @@ vlc_module_begin();
add_shortcut( "wxwin" );
add_shortcut( "wx" );
set_program( "wxvlc" );
#if !defined(WIN32)
linked_with_a_crap_library_which_uses_atexit();
#endif
vlc_module_end();
/*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment