--- gmic_newgimp/src/gmic_gimp.cpp 2015-06-24 14:20:53.000000000 +0200 +++ gmic-1.6.5.0/src/gmic_gimp.cpp 2015-07-06 17:41:59.842681265 +0200 @@ -60,6 +60,11 @@ #define gmic_pixel_type float #endif +#if GIMP_MINOR_VERSION<=6 +#define gimp_item_get_name gimp_drawable_get_name +#define gimp_item_set_name gimp_drawable_set_name +#endif + using namespace cimg_library; // Define plug-in global variables.