--- gigedit/trunk/src/gigedit/compat.h 2012/03/04 09:01:32 2324 +++ gigedit/trunk/src/gigedit/compat.h 2012/03/04 09:01:40 2325 @@ -63,4 +63,22 @@ } #endif + +// glibmm 2.31.2 + +#if (GLIBMM_MAJOR_VERSION == 2 && GLIBMM_MINOR_VERSION == 31 && GLIBMM_MICRO_VERSION < 2) || \ + (GLIBMM_MAJOR_VERSION == 2 && GLIBMM_MINOR_VERSION < 31) || GLIBMM_MAJOR_VERSION < 2 + +namespace Glib { + namespace Threads { + using Glib::Thread; + using Glib::Mutex; + using Glib::Cond; + } +} + +#define OLD_THREADS + +#endif + #endif