]> git.sesse.net Git - vlc/blobdiff - src/interface/interface.c
Kill VLC_OBJECT_INTF
[vlc] / src / interface / interface.c
index 46192d83b024f6df25d1df530c5b2c9085f78ccb..00871e4a98612afad9fd8f0c2882b5ad4b2ad5fc 100644 (file)
@@ -73,9 +73,11 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module )
 {
     libvlc_int_t *p_libvlc = p_this->p_libvlc;
     intf_thread_t * p_intf;
+    static const char psz_type[] = "interface";
 
     /* Allocate structure */
-    p_intf = vlc_object_create( p_libvlc, VLC_OBJECT_INTF );
+    p_intf = vlc_custom_create( p_libvlc, sizeof( *p_intf ),
+                                VLC_OBJECT_GENERIC, psz_type );
     if( !p_intf )
         return VLC_ENOMEM;