* gtk2.c : Gtk2 plugin for vlc
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: gtk2.c,v 1.2 2003/03/30 18:14:37 gbazin Exp $
+ * $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
*****************************************************************************/
vlc_module_begin();
int i = getenv( "DISPLAY" ) == NULL ? 15 : 95;
+ set_category( CAT_INTERFACE );
+ set_subcategory( SUBCAT_INTERFACE_GENERAL );
set_description( _("Gtk2 interface") );
set_capability( "interface", i );
set_callbacks( Open, Close );
}
#ifdef NEED_GTK2_MAIN
- p_intf->p_sys->p_gui_helper = module_Need( p_this, "gui-helper", "gtk2" );
+ p_intf->p_sys->p_gui_helper =
+ module_Need( p_this, "gui-helper", "gtk2", VLC_TRUE );
if( p_intf->p_sys->p_gui_helper == NULL )
{
free( p_intf->p_sys );