[PATCH 08/13] view: g_type_init() is deprecated in glib >= 2.35
Yichao Yu
yyc1992 at gmail.com
Tue Feb 19 10:57:33 PST 2013
On Tue, Feb 19, 2013 at 1:27 PM, Jan Arne Petersen
<jpetersen at openismus.com> wrote:
> From: Jan Arne Petersen <jpetersen at openismus.com>
>
> Signed-off-by: Jan Arne Petersen <jpetersen at openismus.com>
> ---
> clients/view.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/clients/view.c b/clients/view.c
> index 1bb9b9b..bfad897 100644
> --- a/clients/view.c
> +++ b/clients/view.c
> @@ -293,7 +293,9 @@ main(int argc, char *argv[])
> int i;
> int view_counter = 0;
>
> +#if !GLIB_CHECK_VERSION(2, 35, 0)
2.35.1 to be exact AFAIK. (not a big deal.....)
> g_type_init();
> +#endif
>
> argc = parse_options(view_options,
> ARRAY_LENGTH(view_options), argc, argv);
> --
> 1.8.1.2
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list