mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
![Sam Hocevar](/assets/img/avatar_default.png)
gtk_main() in its own thread, and does nothing on subsequent calls. This ensures that gtk_main is only running once. * ./modules/gui/familiar/*, modules/gui/gtk/*: the familiar, gtk and gnome modules are now fully reentrant thanks to their use of the gtk_main module. * ./src/libvlc.c: implemented vlc_set(), a wrapper for config_Put* available to external programs. * ./src/libvlc.c: removed vlc_stop() and vlc_end(), everything is now done by vlc_destroy(). * ./modules/control/rc/rc.c: implemented a few new functions. For instance, run "vlc -I rc" and then type "intf gtk" or "intf gnome". You can even launch several of them. "segfault" works, too.
36 lines
1.5 KiB
C
36 lines
1.5 KiB
C
/*****************************************************************************
|
|
* null.c : NULL module for vlc
|
|
*****************************************************************************
|
|
* Copyright (C) 2000-2001 VideoLAN
|
|
* $Id: null.c,v 1.1 2002/08/20 18:08:51 sam Exp $
|
|
*
|
|
* Authors: Samuel Hocevar <sam@zoy.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
|
|
*****************************************************************************/
|
|
|
|
/*****************************************************************************
|
|
* Preamble
|
|
*****************************************************************************/
|
|
#include <vlc/vlc.h>
|
|
|
|
/*****************************************************************************
|
|
* Module descriptor.
|
|
*****************************************************************************/
|
|
vlc_module_begin();
|
|
set_description( _("the module that does nothing") );
|
|
vlc_module_end();
|
|
|