Add compatibility with GTK+ 2.18

To replace all calls to deprecated code, GTK+ 2.20 is required - add
some basic compatibility code, so that it is still possible to build
mutter with GTK+ 2.18 when not using -DGSEAL_ENABLE.

https://bugzilla.gnome.org/show_bug.cgi?id=595496
This commit is contained in:
Florian Müllner
2010-05-11 00:46:36 +02:00
parent 5526e91b6e
commit c6c7b05d7b
11 changed files with 44 additions and 3 deletions

View File

@@ -35,6 +35,8 @@
#include "prefs.h"
#include "ui.h"
#include "gtk-compat.h"
#ifdef HAVE_SHAPE
#include <X11/extensions/shape.h>
#endif