--- gigedit/trunk/src/gigedit/wrapLabel.cc 2019/01/31 19:42:50 3459 +++ gigedit/trunk/src/gigedit/wrapLabel.cc 2019/02/02 07:48:50 3460 @@ -64,8 +64,8 @@ : mWrapWidth(0), mWrapHeight(0) { - // pangomm >= 2.35.1 -#if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && (PANGOMM_MINOR_VERSION > 35 || (PANGOMM_MINOR_VERSION == 35 && PANGOMM_MICRO_VERSION >= 1))) + // new enums introduced in unstable pangomm 2.41.3, but not in stable 2.42 +#if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && ((PANGOMM_MINOR_VERSION == 41 && PANGOMM_MICRO_VERSION >= 3) || PANGOMM_MINOR_VERSION > 42)) get_layout()->set_wrap(Pango::WrapMode::WORD_CHAR); #else get_layout()->set_wrap(Pango::WRAP_WORD_CHAR);