The GTK type checking macros have been deprecated in favor for the (identical) glib ones. Using the old ones breaks the build with -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED enabled.
Will attach a patch in a minute.
Created attachment 22338 [details]
Comment on attachment 22338 [details]
Compared with http://library.gnome.org/devel/gtk/stable/gtk-Types.html#GTK-CHECK-CAST:CAPS. I couldn't see a deprecation note though.
It will be deprecated in the upcoming GTK release . The corresponding Glib are also in the current stable release .
(note that there's "unstable", not "stable" in the url!)
Note that the GTK checks macros are exactly the same as the Glib macros, as can be seen in gtk+/gtk/gtktypeutils.h:
> /* glib macro wrappers (compatibility) */
> #define GTK_CHECK_CAST G_TYPE_CHECK_INSTANCE_CAST
> #define GTK_CHECK_CLASS_CAST G_TYPE_CHECK_CLASS_CAST
> #define GTK_CHECK_GET_CLASS G_TYPE_INSTANCE_GET_CLASS
> #define GTK_CHECK_TYPE G_TYPE_CHECK_INSTANCE_TYPE
> #define GTK_CHECK_CLASS_TYPE G_TYPE_CHECK_CLASS_TYPE
landed in r35361.