summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland-surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland/meta-wayland-surface.h')
-rw-r--r--src/wayland/meta-wayland-surface.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wayland/meta-wayland-surface.h b/src/wayland/meta-wayland-surface.h
index 25debefe5..7efb65f42 100644
--- a/src/wayland/meta-wayland-surface.h
+++ b/src/wayland/meta-wayland-surface.h
@@ -174,10 +174,8 @@ MetaWaylandSurface *meta_wayland_surface_create (MetaWaylandCompositor *composit
struct wl_resource *compositor_resource,
guint32 id);
-int meta_wayland_surface_set_role (MetaWaylandSurface *surface,
- MetaWaylandSurfaceRole role,
- struct wl_resource *error_resource,
- uint32_t error_code);
+gboolean meta_wayland_surface_assign_role (MetaWaylandSurface *surface,
+ MetaWaylandSurfaceRole role);
void meta_wayland_surface_set_window (MetaWaylandSurface *surface,
MetaWindow *window);