Commit eff4f52a authored by Clément Stenac's avatar Clément Stenac

Minor cleanup

parent dc09f863
...@@ -89,6 +89,8 @@ int __intf_Interact( vlc_object_t *p_this, interaction_dialog_t * ...@@ -89,6 +89,8 @@ int __intf_Interact( vlc_object_t *p_this, interaction_dialog_t *
/** /**
* Destroy the interaction system * Destroy the interaction system
* \param The interaction object to destroy
* \return nothing
*/ */
void intf_InteractionDestroy( interaction_t *p_interaction ) void intf_InteractionDestroy( interaction_t *p_interaction )
{ {
...@@ -184,7 +186,7 @@ void intf_InteractionManage( playlist_t *p_playlist ) ...@@ -184,7 +186,7 @@ void intf_InteractionManage( playlist_t *p_playlist )
if( !(p_dialog->i_flags & DIALOG_REUSABLE) ) if( !(p_dialog->i_flags & DIALOG_REUSABLE) )
{ {
msg_Dbg( p_interaction, "Destroying dialog %i", msg_Dbg( p_interaction, "Destroying dialog %i",
p_dialog->i_id ); p_dialog->i_id );
p_dialog->i_action = INTERACT_DESTROY; p_dialog->i_action = INTERACT_DESTROY;
val.p_address = p_dialog; val.p_address = p_dialog;
if( p_interaction->p_intf ) if( p_interaction->p_intf )
...@@ -293,8 +295,6 @@ void __intf_UserFatal( vlc_object_t *p_this, ...@@ -293,8 +295,6 @@ void __intf_UserFatal( vlc_object_t *p_this,
* \param p_this Parent vlc_object * \param p_this Parent vlc_object
* \param psz_title Title for the dialog * \param psz_title Title for the dialog
* \param psz_description A description * \param psz_description A description
* \param ppsz_login Returned login
* \param ppsz_password Returned password
* \return Clicked button code * \return Clicked button code
*/ */
int __intf_UserYesNo( vlc_object_t *p_this, int __intf_UserYesNo( vlc_object_t *p_this,
...@@ -397,6 +397,8 @@ void __intf_UserProgressUpdate( vlc_object_t *p_this, int i_id, ...@@ -397,6 +397,8 @@ void __intf_UserProgressUpdate( vlc_object_t *p_this, int i_id,
* \param p_this Parent vlc_object * \param p_this Parent vlc_object
* \param psz_title Title for the dialog * \param psz_title Title for the dialog
* \param psz_description A description * \param psz_description A description
* \param ppsz_login Returned login
* \param ppsz_password Returned password
* \return Clicked button code * \return Clicked button code
*/ */
int __intf_UserLoginPassword( vlc_object_t *p_this, int __intf_UserLoginPassword( vlc_object_t *p_this,
...@@ -561,7 +563,8 @@ static void intf_InteractionSearchInterface( interaction_t *p_interaction ) ...@@ -561,7 +563,8 @@ static void intf_InteractionSearchInterface( interaction_t *p_interaction )
} }
/* Add a dialog to the queue and wait for answer */ /* Add a dialog to the queue and wait for answer */
static int intf_WaitAnswer( interaction_t *p_interact, interaction_dialog_t *p_dialog ) static int intf_WaitAnswer( interaction_t *p_interact,
interaction_dialog_t *p_dialog )
{ {
int i; int i;
vlc_bool_t b_found = VLC_FALSE; vlc_bool_t b_found = VLC_FALSE;
...@@ -603,7 +606,8 @@ static int intf_WaitAnswer( interaction_t *p_interact, interaction_dialog_t *p_d ...@@ -603,7 +606,8 @@ static int intf_WaitAnswer( interaction_t *p_interact, interaction_dialog_t *p_d
} }
/* Add a dialog to the queue and return */ /* Add a dialog to the queue and return */
static int intf_Send( interaction_t *p_interact, interaction_dialog_t *p_dialog ) static int intf_Send( interaction_t *p_interact,
interaction_dialog_t *p_dialog )
{ {
int i; int i;
vlc_bool_t b_found = VLC_FALSE; vlc_bool_t b_found = VLC_FALSE;
......
...@@ -689,7 +689,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability, ...@@ -689,7 +689,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
psz_capability, (psz_name && *psz_name) ? psz_name : "any" ); psz_capability, (psz_name && *psz_name) ? psz_name : "any" );
} }
else else
{ {
msg_Err( p_this, "no %s module matched \"%s\"", msg_Err( p_this, "no %s module matched \"%s\"",
psz_capability, (psz_name && *psz_name) ? psz_name : "any" ); psz_capability, (psz_name && *psz_name) ? psz_name : "any" );
} }
...@@ -728,7 +728,7 @@ void __module_Unneed( vlc_object_t * p_this, module_t * p_module ) ...@@ -728,7 +728,7 @@ void __module_Unneed( vlc_object_t * p_this, module_t * p_module )
p_module->pf_deactivate( p_this ); p_module->pf_deactivate( p_this );
} }
msg_Dbg( p_module, "unlocking module \"%s\"", p_module->psz_object_name ); msg_Dbg( p_module, "removing module \"%s\"", p_module->psz_object_name );
vlc_object_release( p_module ); vlc_object_release( p_module );
......
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