diff options
author | Søren Sandmann Pedersen <sandmann@redhat.com> | 2009-06-19 13:19:02 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@redhat.com> | 2009-06-19 13:19:02 -0400 |
commit | d4dc812380f937908e466bfab52bfcc3b5334ebe (patch) | |
tree | 277bbb57f547e7dce4aa67626b43498be96e239d /pixman/pixman-region.c | |
parent | 8b344e417e06f80a24bff9b6fadf4d82b54ab911 (diff) |
Get rid of pixman_region_internal_set_static_pointers()
Instead just define the function in pixman-region16.c
Diffstat (limited to 'pixman/pixman-region.c')
-rw-r--r-- | pixman/pixman-region.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/pixman/pixman-region.c b/pixman/pixman-region.c index dec2c9d..d448266 100644 --- a/pixman/pixman-region.c +++ b/pixman/pixman-region.c @@ -87,24 +87,6 @@ static box_type_t *pixman_region_emptyBox = (box_type_t *)&PREFIX(_emptyBox_); static region_data_type_t *pixman_region_emptyData = (region_data_type_t *)&PREFIX(_emptyData_); static region_data_type_t *pixman_brokendata = (region_data_type_t *)&PREFIX(_brokendata_); -/* This function exists only to make it possible to preserve the X ABI - it should - * go away at first opportunity. - * - * The problem is that the X ABI exports the three structs and has used - * them through macros. So the X server calls this function with - * the addresses of those structs which makes the existing code continue to - * work. - */ -void -PREFIX(_internal_set_static_pointers) (box_type_t *empty_box, - region_data_type_t *empty_data, - region_data_type_t *broken_data) -{ - pixman_region_emptyBox = empty_box; - pixman_region_emptyData = empty_data; - pixman_brokendata = broken_data; -} - static pixman_bool_t pixman_break (region_type_t *pReg); |