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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by Alan Coopersmith :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>
---
 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

_______________________________________________
Xcb mailing list
Xcb@...
http://lists.freedesktop.org/mailman/listinfo/xcb

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

by Julien Danjou-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

At 1256079581 time_t, Alan Coopersmith wrote:
> Fixes compiler error when building with Sun compilers due to
> redefining argument types of xcb_size_hints_set_win_gravity

Thanks, pushed.

Cheers,
--
Julien Danjou
// ᐰ <julien@...>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// When I get sad, I stop being sad and be awesome instead. True story.


_______________________________________________
Xcb mailing list
Xcb@...
http://lists.freedesktop.org/mailman/listinfo/xcb

signature.asc (205 bytes) Download Attachment