[vlc-devel] [PATCH] inhibit (power management) : supports gnome-session >= 2.27

Alexey Sokolov alexey at alexeysokolov.co.cc
Tue Jul 26 07:00:45 CEST 2011


On 26.07.2011 09:24, Rafaël Carré wrote:
>   /*****************************************************************************
>    * Inhibit: Notify the power management daemon that it shouldn't suspend
>    * the computer because of inactivity
> - *
> - * returns false if Out of memory, else true
>    *****************************************************************************/
> -static void Inhibit( intf_thread_t *p_intf )
> +static void Inhibit( intf_thread_t *p_intf, int type )
Huh? How can void be false or true?
>   /*****************************************************************************
>    * UnInhibit: Notify the power management daemon that we aren't active anymore
> - *
> - * returns false if Out of memory, else true
>    *****************************************************************************/
> -static void UnInhibit( intf_thread_t *p_intf )
> +static void UnInhibit( intf_thread_t *p_intf, int type )
The same.

-- 
Best regards,
Alexey "DarthGandalf" Sokolov




More information about the vlc-devel mailing list