[Xcb] [PATCH] Make xcb_icccm.h use the same type as icccm.c for gravity parameter

Alan Coopersmith alan.coopersmith at sun.com
Tue Oct 20 15:59:41 PDT 2009


Fixes compiler error when building with Sun compilers due to
redefining argument types of xcb_size_hints_set_win_gravity

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
---
 icccm/xcb_icccm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/icccm/xcb_icccm.h b/icccm/xcb_icccm.h
index 0c6a895..2d80ffb 100644
--- a/icccm/xcb_icccm.h
+++ b/icccm/xcb_icccm.h
@@ -526,7 +526,7 @@ void xcb_size_hints_set_base_size(xcb_size_hints_t *hints, int32_t base_width,
  * @param win_gravity Window gravity value.
  */
 void xcb_size_hints_set_win_gravity(xcb_size_hints_t *hints,
-                                    uint32_t win_gravity);
+                                    xcb_gravity_t win_gravity);
 
 /**
  * @brief Deliver a ChangeProperty request to set a value to a given property.
-- 
1.5.6.5



More information about the Xcb mailing list