[mutter] wayland: Namespace gtk_shell request handlers



commit 9f1d1151b746e76efd0c6925d0e8ff08c6cfffd7
Author: Jonas Ådahl <jadahl gmail com>
Date:   Mon Mar 7 11:36:54 2016 +0800

    wayland: Namespace gtk_shell request handlers
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763284

 src/wayland/meta-wayland-surface.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index ec8ac2d..91ee76f 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -2023,10 +2023,10 @@ static const struct gtk_surface1_interface meta_wayland_gtk_surface_interface =
 };
 
 static void
-get_gtk_surface (struct wl_client *client,
-                 struct wl_resource *resource,
-                 guint32 id,
-                 struct wl_resource *surface_resource)
+gtk_shell_get_gtk_surface (struct wl_client   *client,
+                           struct wl_resource *resource,
+                           guint32             id,
+                           struct wl_resource *surface_resource)
 {
   MetaWaylandSurface *surface = wl_resource_get_user_data (surface_resource);
 
@@ -2046,9 +2046,9 @@ get_gtk_surface (struct wl_client *client,
 }
 
 static void
-set_startup_id (struct wl_client   *client,
-                struct wl_resource *resource,
-                const char         *startup_id)
+gtk_shell_set_startup_id (struct wl_client   *client,
+                          struct wl_resource *resource,
+                          const char         *startup_id)
 {
   MetaDisplay *display;
 
@@ -2058,8 +2058,8 @@ set_startup_id (struct wl_client   *client,
 }
 
 static const struct gtk_shell1_interface meta_wayland_gtk_shell_interface = {
-  get_gtk_surface,
-  set_startup_id
+  gtk_shell_get_gtk_surface,
+  gtk_shell_set_startup_id,
 };
 
 static void


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