The problem is, my company is certified for information securily, and
getting approval for a new version of any external software is a PITA.
On the other hand, anything written by the employees, like my plugins,
is OK by default - we are hired to write software, after all... :)

Maybe you can "write" a gtkcompat.h yourself that looks mysteriously like the official one :) 

and explicitly include it before plugindata.h.

I think that should work for all versions then?

Cheers
Lex
[...]