MetaSurfaceActorWayland: Remove API never used externally anymore

https://bugzilla.gnome.org/show_bug.cgi?id=773629
This commit is contained in:
Jonas Ådahl 2016-10-20 15:48:12 +08:00
parent 41c96921d6
commit 11783ffdd0
2 changed files with 3 additions and 12 deletions

View File

@ -405,8 +405,10 @@ meta_surface_actor_wayland_dispose (GObject *object)
MetaSurfaceActorWaylandPrivate *priv = MetaSurfaceActorWaylandPrivate *priv =
meta_surface_actor_wayland_get_instance_private (self); meta_surface_actor_wayland_get_instance_private (self);
MetaWaylandFrameCallback *cb, *next; MetaWaylandFrameCallback *cb, *next;
MetaShapedTexture *stex =
meta_surface_actor_get_texture (META_SURFACE_ACTOR (self));
meta_surface_actor_wayland_set_texture (self, NULL); meta_shaped_texture_set_texture (stex, NULL);
if (priv->surface) if (priv->surface)
{ {
g_object_remove_weak_pointer (G_OBJECT (priv->surface), g_object_remove_weak_pointer (G_OBJECT (priv->surface),
@ -472,14 +474,6 @@ meta_surface_actor_wayland_new (MetaWaylandSurface *surface)
return META_SURFACE_ACTOR (self); return META_SURFACE_ACTOR (self);
} }
void
meta_surface_actor_wayland_set_texture (MetaSurfaceActorWayland *self,
CoglTexture *texture)
{
MetaShapedTexture *stex = meta_surface_actor_get_texture (META_SURFACE_ACTOR (self));
meta_shaped_texture_set_texture (stex, texture);
}
MetaWaylandSurface * MetaWaylandSurface *
meta_surface_actor_wayland_get_surface (MetaSurfaceActorWayland *self) meta_surface_actor_wayland_get_surface (MetaSurfaceActorWayland *self)
{ {

View File

@ -62,9 +62,6 @@ MetaSurfaceActor * meta_surface_actor_wayland_new (MetaWaylandSurface *surface);
MetaWaylandSurface * meta_surface_actor_wayland_get_surface (MetaSurfaceActorWayland *self); MetaWaylandSurface * meta_surface_actor_wayland_get_surface (MetaSurfaceActorWayland *self);
void meta_surface_actor_wayland_surface_destroyed (MetaSurfaceActorWayland *self); void meta_surface_actor_wayland_surface_destroyed (MetaSurfaceActorWayland *self);
void meta_surface_actor_wayland_set_texture (MetaSurfaceActorWayland *self,
CoglTexture *texture);
double meta_surface_actor_wayland_get_scale (MetaSurfaceActorWayland *actor); double meta_surface_actor_wayland_get_scale (MetaSurfaceActorWayland *actor);
void meta_surface_actor_wayland_get_subsurface_rect (MetaSurfaceActorWayland *self, void meta_surface_actor_wayland_get_subsurface_rect (MetaSurfaceActorWayland *self,