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

Rafaël Carré rafael.carre at gmail.com
Tue Jul 26 15:30:19 CEST 2011


Le Tue, 26 Jul 2011 12:00:45 +0700,
Alexey Sokolov <alexey at alexeysokolov.co.cc> a écrit :

> 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?

Yeah I wondered the same thing :)

My patch removes these obsolete comments

-- 
Rafaël Carré



More information about the vlc-devel mailing list