Re: [PATCH] glib 2.30.0 doesn't have g_value_get_schar yet



On Fri, 2011-10-07 at 15:21 +0200, Ludwig Nussel wrote:
> ---
>  libnm-util/nm-param-spec-specialized.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Dan

> diff --git a/libnm-util/nm-param-spec-specialized.c b/libnm-util/nm-param-spec-specialized.c
> index f0ca1d9..7496cb6 100644
> --- a/libnm-util/nm-param-spec-specialized.c
> +++ b/libnm-util/nm-param-spec-specialized.c
> @@ -92,7 +92,7 @@ _gvalues_compare_fixed (const GValue *value1, const GValue *value2)
>  
>  	switch (G_VALUE_TYPE (value1)) {
>  	case G_TYPE_CHAR: {
> -#if GLIB_CHECK_VERSION(2,29,90)
> +#if GLIB_CHECK_VERSION(2,30,1)
>  		gchar val1 = g_value_get_schar (value1);
>  		gchar val2 = g_value_get_schar (value2);
>  #else




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]