]> Pileus Git - grits/commit
Add support for GTK 3
authorAndy Spencer <andy753421@gmail.com>
Mon, 3 Dec 2012 00:12:41 +0000 (00:12 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 21 Jan 2013 04:51:50 +0000 (04:51 +0000)
commit5c17e7d79895982036139dcffb5c17cefb1d4d9f
tree5661fdefef9a0d44c0411bfe1f2ce372a13d34c5
parent76a55b4ceb4d3326a7345c0ee13416fdaeb75070
Add support for GTK 3

First, most of the code has already been converted to work the same on
the latest copy of GTK 2 and GTK 3. These changes include things like
using GDK_KEY_* and removing all the gdk threading code.

Second, a compatibility file was added to mimic GTK 3 features that will
not be added to GTK 2. This includes things like gtk_box_new.

Third, any other differences are resolved using GTK_CHECK_VERSION.
This was done as a last resort where there are actual differences
between GTK 2 and GTK 3, such as the "expose-event" to "draw" change.
configure.ac
examples/gl/gl.c
examples/gl/mkfile
src/compat.h [new file with mode: 0644]
src/grits-demo.c
src/grits-opengl.c
src/grits-test.c
src/grits.pc.in
src/gtkgl.c
src/gtkgl.h
src/tile-test.c