Re: Check minimum required gtk-version



On 2010-08-13 20:29, Christopher Roy Bratusek wrote:
> is there a way to check an application for which minimum gtk-version it uses?
> Something automated like Glade's function to check gtkbuilder files?

You can use gtkdoc-depscan to some extent.

As an example, I have the following rule in one of my makefiles:

depscan:
	gtkdoc-depscan             \
		--book=atk         \
		--book=gdk         \
		--book=gdk-pixbuf  \
		--book=glib        \
		--book=gio         \
		--book=gobject     \
		--book=gtk         \
		--book=pango       \
		--book=libsoup-2.4 \
		--list-unknown     \
		"$@"               \
		src/*.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]