* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
-#include <stdlib.h> /* free() */
-#include <string.h> /* strerror() */
#include <photon/PtWidget.h>
#include <photon/PtWindow.h>
PhEvent_t *p_event;
vlc_bool_t b_repos = 0;
- if (p_vout->b_die == 1)
+ if (p_vout->b_die)
{
return ( 0 );
}
switch( p_ev->event_f )
{
case Ph_WM_CLOSE:
- p_vout->p_libvlc->b_die = 1;
+ p_vout->p_libvlc->b_die = VLC_TRUE;
break;
case Ph_WM_MOVE:
{
case Pk_q:
case Pk_Q:
- p_vout->p_libvlc->b_die = 1;
+ p_vout->p_libvlc->b_die = VLC_TRUE;
break;
case Pk_f: