[mutter] wayland: Add a few statics we forgot before



commit 63c627ec18b6fe6acc060d9574b1c7561fe41df4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Aug 4 10:28:44 2014 -0400

    wayland: Add a few statics we forgot before

 src/wayland/meta-wayland-surface.c |    2 +-
 src/wayland/meta-wayland.c         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 30d7569..4ec565d 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -606,7 +606,7 @@ wl_surface_set_buffer_scale (struct wl_client *client,
     g_warning ("Trying to set invalid buffer_scale of %d\n", scale);
 }
 
-const struct wl_surface_interface meta_wayland_wl_surface_interface = {
+static const struct wl_surface_interface meta_wayland_wl_surface_interface = {
   wl_surface_destroy,
   wl_surface_attach,
   wl_surface_damage,
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 938475d..1a4dacb 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -241,7 +241,7 @@ wl_region_subtract (struct wl_client *client,
   cairo_region_subtract_rectangle (region->region, &rectangle);
 }
 
-const struct wl_region_interface meta_wayland_region_interface = {
+static const struct wl_region_interface meta_wayland_region_interface = {
   wl_region_destroy,
   wl_region_add,
   wl_region_subtract


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]