Web lists-archives.com

Re: GDK_KP_Decimal (on Windows)




Hi;

On 8 May 2015 at 07:35, John Emmas <johne53@xxxxxxxxxxxxx> wrote:
> On 04/05/2015 16:49, LRN wrote:
>>
>> -      *ksymp - GDK_KP_DECIMAL; break;
>> +      *ksymp = GDK_KEY_KP_Decimal; break;
>>
>
> I just updated from gtk-2-24 git which pulled in the above change (commit
> #1f74f12d).  Whilst the change might be technically more correct (and it
> matches the style for GTK+ version 3) it doesn't match the style that was
> being used in version 2.  In version 2, the other entries in
> 'gdkkeys-win32.c' all seem to use this style:-
>
>         GDK_KP_WHATEVER
>
> as opposed to this:-
>
>         GDK_KEY_KP_WHATEVER
>
> I'm not criticising...  just pointing out that the two versions are
> different.  Thanks.

It's inconsequential. The GDK_KEY_* and GDK_* key symbol macros are
generated from the same source. The old GDK_* key symbols are
considered deprecated — mostly because they trample all over the GDK
namespace — and the GDK_KEY_* symbols are preferred, especially for
porting to GTK+ 3.x.

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-devel-list