2008-05-12 Matthew Allum <mallum@openedhand.com>

* clutter/x11/clutter-x11-texture-pixmap.c:
        * configure.ac:
        * tests/Makefile.am:
        Remove the XComposite dep from Clutter itself, just use
        in test-pixmap (if available)
This commit is contained in:
Matthew Allum
2008-05-12 16:22:16 +00:00
parent 101a3cac4e
commit f360f81f22
4 changed files with 17 additions and 15 deletions

View File

@ -49,7 +49,6 @@
/* FIXME: Check exts exist in autogen */
#include <X11/extensions/Xdamage.h>
#include <X11/extensions/Xcomposite.h>
#include <sys/ipc.h>
#include <sys/shm.h>
@ -109,7 +108,6 @@ G_DEFINE_TYPE (ClutterX11TexturePixmap, \
static gboolean
check_extensions (ClutterX11TexturePixmap *texture)
{
int event_base, error_base;
int damage_error;
ClutterX11TexturePixmapPrivate *priv;
Display *dpy;
@ -121,12 +119,6 @@ check_extensions (ClutterX11TexturePixmap *texture)
dpy = clutter_x11_get_default_display();
if (!XCompositeQueryExtension (dpy, &event_base, &error_base))
{
g_warning ("No composite extension\n");
return FALSE;
}
if (!XDamageQueryExtension (dpy,
&_damage_event_base, &damage_error))
{