[vlc-devel] [vlc-commits] power: probe D-Bus services and return error if none are found

Rafaël Carré funman at videolan.org
Fri Dec 7 21:19:24 CET 2012


Le 07/12/2012 21:12, Rémi Denis-Courmont a écrit :
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Dec  7 20:42:18 2012 +0200| [11fdcca2be709bd5a74ed2e75c8d644dc1f094c6] | committer: Rémi Denis-Courmont
> 
> power: probe D-Bus services and return error if none are found
> 
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=11fdcca2be709bd5a74ed2e75c8d644dc1f094c6
> ---
> 
>  modules/misc/inhibit/power.c |   59 ++++++++++++++++++++++++++----------------
>  1 file changed, 36 insertions(+), 23 deletions(-)
> 
> diff --git a/modules/misc/inhibit/power.c b/modules/misc/inhibit/power.c
> index 0a3e846..c885bff 100644
> --- a/modules/misc/inhibit/power.c
> +++ b/modules/misc/inhibit/power.c
> @@ -39,6 +39,8 @@ enum vlc_inhibit_api
>      GNOME, /**< GNOME 2.26..3.4 */
>  };
>  
> +#define MAX_API (GNOME+1)

Why not put it at end of enum?



More information about the vlc-devel mailing list