mate-desktop/mate-panel — pull request #17 by benpicco (2012-03-20 15:49:19+00:00)
Title: Don't use gtk_window_set_has_resize_grip on ubuntu 12.04

This checks whether the gtk version is older than the one in Ubuntu 12.04 and only applies the ubuntu fix if this is the case.
If we want to build this package on 12.04, we have to disable the ubuntu hack altogether, therefore also check the GTK version on build.
This way the panel will work on precise when compiled on oneiric but also can be compiled on precise with the --enable-ubuntu switch (which is useless then, but anyway)