GNOME Bugzilla – Bug 626428
libpeasui requires Gtk 2.22 for a single function
Last modified: 2010-09-01 07:24:57 UTC
Created attachment 167423 [details] [review] Allow building with Gtk < 2.22 libpeasui requires Gtk 2.22 for gtk_window_has_group. As a lot of distributions don't have 2.22 yet and this isn't a particularly hard/large function, it'd be nice if this wasn't necessary (at least until the next run of distro releases). The attached patch adds a local implementation of said function if the Gtk version is less than 2.22.
This could go with a --with-gtk=2.0 configure flag for 2.32. Shouldn't you modify the configure.ac as well to lower the requirement?
The configure.ac already only asked for 2.16, so I guess this function slipped through unnoticed at some point?