mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
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:
@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user