I would like to make an attempt to reduce the number of deprecated warnings, but I have no knowledge of current standard methods.
I see some projects use a single header file to redefine functions - indeed, Geeqie uses compat.h for this in a small way. Although this removes the need to put multiple #if GTK_CHECK_VERSION throughout the code, I see there can be a problem when reading the source code or using a debugger - the code you are reading isn't necessarily what was compiled. And I haven't found an easy way to see what the macro-processed output is. So, is compat.h the way to go, or should in-line #defines be used? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel