if( i_refcount > 0 )
{
i_refcount++;
- vlc_mutex_unlock( lock );
+ vlc_mutex_unlock( >k_lock );
return VLC_SUCCESS;
}
/* Launch the gtk_main() thread. It will not return until it has
* called gdk_threads_enter(), which ensures us thread safety. */
if( vlc_thread_create( p_gtk_main, "gtk_main", GtkMain,
- VLC_THREAD_PRIORITY_LOW, true ) )
+ VLC_THREAD_PRIORITY_LOW ) )
{
vlc_object_release( p_gtk_main );
i_refcount--;
- vlc_mutex_unlock( lock );
- return VLC_ETHREAD;
+ vlc_mutex_unlock( >k_lock );
+ return VLC_ENOMEM;
}
i_refcount++;
#endif
#if defined(MODULE_NAME_IS_gnome_main)
- gnome_init( p_this->p_libvlc->psz_object_name, VERSION, i_args, p_args );
+ gnome_init( PACKAGE, VERSION, i_args, p_args );
#elif defined(MODULE_NAME_IS_gnome2_main)
gnome_program_init( PACKAGE, VERSION, LIBGNOMEUI_MODULE,
i_args, p_args,