Commit 2adfbf0c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

VLC_OBJECT_DIALOGS: remove

parent 166dc5d2
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#define VLC_OBJECT_AOUT (-10) #define VLC_OBJECT_AOUT (-10)
#define VLC_OBJECT_PACKETIZER (-13) #define VLC_OBJECT_PACKETIZER (-13)
#define VLC_OBJECT_ENCODER (-14) #define VLC_OBJECT_ENCODER (-14)
#define VLC_OBJECT_DIALOGS (-15)
#define VLC_OBJECT_ANNOUNCE (-17) #define VLC_OBJECT_ANNOUNCE (-17)
#define VLC_OBJECT_OPENGL (-21) #define VLC_OBJECT_OPENGL (-21)
#define VLC_OBJECT_FILTER (-22) #define VLC_OBJECT_FILTER (-22)
......
...@@ -159,7 +159,7 @@ bool Dialogs::init() ...@@ -159,7 +159,7 @@ bool Dialogs::init()
{ {
// Allocate descriptor // Allocate descriptor
m_pProvider = (intf_thread_t *)vlc_object_create( getIntf(), m_pProvider = (intf_thread_t *)vlc_object_create( getIntf(),
VLC_OBJECT_DIALOGS ); sizeof( intf_thread_t ) );
if( m_pProvider == NULL ) if( m_pProvider == NULL )
{ {
msg_Err( getIntf(), "out of memory" ); msg_Err( getIntf(), "out of memory" );
......
...@@ -98,7 +98,6 @@ static int vlc_object_type_from_string( const char *psz_name ) ...@@ -98,7 +98,6 @@ static int vlc_object_type_from_string( const char *psz_name )
{ VLC_OBJECT_AOUT, "aout" }, { VLC_OBJECT_AOUT, "aout" },
{ VLC_OBJECT_PACKETIZER, "packetizer" }, { VLC_OBJECT_PACKETIZER, "packetizer" },
{ VLC_OBJECT_ENCODER, "encoder" }, { VLC_OBJECT_ENCODER, "encoder" },
{ VLC_OBJECT_DIALOGS, "dialogs" },
{ VLC_OBJECT_ANNOUNCE, "announce" }, { VLC_OBJECT_ANNOUNCE, "announce" },
{ VLC_OBJECT_OPENGL, "opengl" }, { VLC_OBJECT_OPENGL, "opengl" },
{ VLC_OBJECT_FILTER, "filter" }, { VLC_OBJECT_FILTER, "filter" },
......
...@@ -230,10 +230,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type ) ...@@ -230,10 +230,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
i_size = sizeof(intf_thread_t); i_size = sizeof(intf_thread_t);
psz_type = "interface"; psz_type = "interface";
break; break;
case VLC_OBJECT_DIALOGS:
i_size = sizeof(intf_thread_t);
psz_type = "dialogs";
break;
case VLC_OBJECT_DECODER: case VLC_OBJECT_DECODER:
i_size = sizeof(decoder_t); i_size = sizeof(decoder_t);
psz_type = "decoder"; psz_type = "decoder";
......
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