summaryrefslogtreecommitdiff
path: root/src/core/display.c
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-06-29 03:23:08 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-06-29 03:23:08 +0000
commitb3549979c6100d960c3fef6d50d001386b4f2b55 (patch)
tree4dbab7c0db225e84a1d7dd5dfada8056e16ac985 /src/core/display.c
parent6039694effc408f00fe580f4439aa79645dab147 (diff)
downloadmetacity-b3549979c6100d960c3fef6d50d001386b4f2b55.tar.gz
add checks for HAVE_SHAPE where appropriate. fix type error which was
2008-06-28 Thomas Thurman <tthurman@gnome.org> * src/core/display.c, src/compositor/compositor-xrender.c: add checks for HAVE_SHAPE where appropriate. * src/core/xprops.c: fix type error which was causing warnings. svn path=/trunk/; revision=3772
Diffstat (limited to 'src/core/display.c')
-rw-r--r--src/core/display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/display.c b/src/core/display.c
index 5b9d76b3..613230ff 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -5166,9 +5166,11 @@ meta_display_get_damage_event_base (MetaDisplay *display)
#endif
#ifdef HAVE_COMPOSITE_EXTENSIONS
+#ifdef HAVE_SHAPE
int
meta_display_get_shape_event_base (MetaDisplay *display)
{
return display->shape_event_base;
}
#endif
+#endif