According to the GTK+ 3 manual, the function gdk_set_allowed_backends()
requires GTK+ 3.10 or later,

Hence,

#if GTK_CHECK_VERSION(3,0,0)

should be replaced with

#if GTK_CHECK_VERSION(3,10,0)

Best regards,
Kazunobu Kuriyama.

2016-04-05 11:36 GMT+09:00 Kazunobu Kuriyama <[email protected]>:

> Then, I think your patch is enough and suitable for now.
>
> Thanks.
>
> 2016-04-05 11:33 GMT+09:00 James McCoy <[email protected]>:
>
>> On Tue, Apr 05, 2016 at 11:03:02AM +0900, Kazunobu Kuriyama wrote:
>> > Good catch, really.
>> >
>> > One thing I want to make sure since I know little about Wayland
>> environments.
>> >
>> > Which is correctt?
>> >
>> > With this patch,
>> > (1) gtk3vim can be built and works only for genuine X11 environments.
>> > (2) gtk3vim can be built and works even for Wayland environments, but
>> through
>> > some bridge API which Wayland offers for applications written in the
>> X11 API.
>>
>> My understanding is that it is the latter.  In particular, the Wayland
>> documentation[0] mentions
>>
>>   X applications can continue working under a session compositor by
>>   means of a root-less X server that is activated on demand.
>>
>> Cheers,
>> --
>> James
>> GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>
>>
>> --
>> --
>> You received this message from the "vim_dev" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "vim_dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui