Description of problem:
Some header files in anjuta-devel contain deprecated GTK symbols, at least:
'GtkHBox' and 'GtkHBoxClass'.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
- compile a project which uses the e.g. anjuta-status.h with disabled deprecated symbols (-DGTK_DISABLE_DEPRECATED)
compilation fails with something like this:
In file included from /usr/include/libanjuta-3.0/libanjuta/anjuta-plugin-manager.h:25:0,
/usr/include/libanjuta-3.0/libanjuta/anjuta-status.h:40:2: error: unknown type name 'GtkHBox'
/usr/include/libanjuta-3.0/libanjuta/anjuta-status.h:46:2: error: unknown type name 'GtkHBoxClass'
no error messages, anjuta should avoid using deprecated GTK types
I have found the issue when trying to compile gtkpod in RAWHIDE. Temporarily I have now removed -DGTK_DISABLE_DEPRECATED from the CFLAGS.
Note that this is fixed in anjuta master (and at least in 3.1.90) and that the change was only introduced with gtk+ 3.2. In general compiling a release with GTK_DISABLE_DEPRECATED is flawed - use it when building from git if you like but please disable it in releases as you never know what will be deprecated next and the release is set in stone for the time being.
Can certainly make a note to do that, unless there are major objections.
This seems to be fixed as of anjuta 3.2.0, with gtkpod 2.1.1., gtk3 3.4, in fc16. Re-open if not.