ACK: [PATCH 2/2] Check that we are at least using glib that supports logind
Alex Hung
alex.hung at canonical.com
Thu Sep 4 08:14:47 UTC 2014
On 09/03/2014 11:15 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/lib/src/fwts_pm_method.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/lib/src/fwts_pm_method.c b/src/lib/src/fwts_pm_method.c
> index 9aed8b1..00f870b 100644
> --- a/src/lib/src/fwts_pm_method.c
> +++ b/src/lib/src/fwts_pm_method.c
> @@ -170,6 +170,9 @@ static bool logind_can_do_action(fwts_pm_method_vars *fwts_settings, const char*
> bool status = false;
> gchar *response;
>
> + if (glib_check_version(2, 26, 0) != NULL)
> + return false;
> +
> if (fwts_logind_init_proxy(fwts_settings) != 0)
> return false;
>
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list