]> git.sesse.net Git - vlc/blobdiff - modules/gui/gtk2/gtk2.c
Improvements to preferences
[vlc] / modules / gui / gtk2 / gtk2.c
index ff059634be9ac9af150c5b47222c1a657f7a6c0a..7273e60f8d9ef8c3bb40cd3f70495804ab257b0a 100644 (file)
@@ -2,7 +2,7 @@
  * 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>
  *
@@ -52,6 +52,8 @@ static int  Manage       ( intf_thread_t * );
  *****************************************************************************/
 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 );
@@ -84,7 +86,8 @@ static int Open( vlc_object_t *p_this )
     }
 
 #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 );