Re: Generating glib-genmarshal
- From: Emmanuele Bassi <ebassi gmail com>
- To: John Emmas <john creativepost co uk>
- Cc: GTK Devel List <gtk-devel-list gnome org>
- Subject: Re: Generating glib-genmarshal
- Date: Thu, 7 Sep 2017 16:52:31 +0100
On 7 September 2017 at 16:35, John Emmas <john creativepost co uk> wrote:
gdk-pixbuf and gdk+2 both built fine for me. The only odd thing I noticed
was when building gtk (from gtk-2-24) I saw quite a few warning messages
looking like this:-
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
They're probably nothing to worry about (I think they might be coming from
'gtk/gtkmarshal.list'). In fact it's possible they've always been there but
I don't remember noticing them before...
No, the deprecation warnings are new, and were added with the rewrite to Python.
The `BOOL` and `NONE` keywords have been deprecated for 17 years —
they were deprecated when glib-genmarshal was added to the GLib
repository. Older versions of GTK+ still use those keywords because
they haven't been touched in years, and people cargo-culted their way
out of these things.
The deprecation warnings are there to let people know that
copy-pasting from old projects does not imply that things will never
change. :-)
Ciao,
Emmanuele.
--
https://www.bassi.io
[@] ebassi [@gmail.com]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]