commit 4a85e65f92f1540c27e51fd109f5b466b76fea53
parent d9e64424be213c03c383fdf7dd2dbfea2ec7da8e
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 21 Jun 2013 00:37:52 -0700
region: Drop region_ prefix
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/region.c b/region.c
@@ -12,13 +12,13 @@ static void destroy_region_resource(struct wl_resource * resource)
free(region);
}
-static void region_destroy(struct wl_client * client,
+static void destroy(struct wl_client * client,
struct wl_resource * resource)
{
wl_resource_destroy(resource);
}
-static void region_add(struct wl_client * client,
+static void add(struct wl_client * client,
struct wl_resource * resource,
int32_t x, int32_t y, int32_t width, int32_t height)
{
@@ -28,7 +28,7 @@ static void region_add(struct wl_client * client,
x, y, width, height);
}
-static void region_subtract(struct wl_client * client,
+static void subtract(struct wl_client * client,
struct wl_resource * resource,
int32_t x, int32_t y, int32_t width, int32_t height)
{
@@ -40,9 +40,9 @@ static void region_subtract(struct wl_client * client,
}
static const struct wl_region_interface region_implementation = {
- .destroy = ®ion_destroy,
- .add = ®ion_add,
- .subtract = ®ion_subtract
+ .destroy = &destroy,
+ .add = &add,
+ .subtract = &subtract
};
bool swc_region_initialize(struct swc_region * region, struct wl_client * client,