mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -05:00
compositor: Remove MetaSurfaceActor::repaint-scheduled signal
It's unused now. https://bugzilla.gnome.org/show_bug.cgi?id=782344
This commit is contained in:
parent
3402c50625
commit
e5b06754e0
@ -35,7 +35,6 @@ G_DEFINE_ABSTRACT_TYPE_WITH_CODE (MetaSurfaceActor, meta_surface_actor, CLUTTER_
|
|||||||
G_IMPLEMENT_INTERFACE (META_TYPE_CULLABLE, cullable_iface_init));
|
G_IMPLEMENT_INTERFACE (META_TYPE_CULLABLE, cullable_iface_init));
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
REPAINT_SCHEDULED,
|
|
||||||
SIZE_CHANGED,
|
SIZE_CHANGED,
|
||||||
|
|
||||||
LAST_SIGNAL,
|
LAST_SIGNAL,
|
||||||
@ -121,13 +120,6 @@ meta_surface_actor_class_init (MetaSurfaceActorClass *klass)
|
|||||||
object_class->dispose = meta_surface_actor_dispose;
|
object_class->dispose = meta_surface_actor_dispose;
|
||||||
actor_class->pick = meta_surface_actor_pick;
|
actor_class->pick = meta_surface_actor_pick;
|
||||||
|
|
||||||
signals[REPAINT_SCHEDULED] = g_signal_new ("repaint-scheduled",
|
|
||||||
G_TYPE_FROM_CLASS (object_class),
|
|
||||||
G_SIGNAL_RUN_LAST,
|
|
||||||
0,
|
|
||||||
NULL, NULL, NULL,
|
|
||||||
G_TYPE_NONE, 0);
|
|
||||||
|
|
||||||
signals[SIZE_CHANGED] = g_signal_new ("size-changed",
|
signals[SIZE_CHANGED] = g_signal_new ("size-changed",
|
||||||
G_TYPE_FROM_CLASS (object_class),
|
G_TYPE_FROM_CLASS (object_class),
|
||||||
G_SIGNAL_RUN_LAST,
|
G_SIGNAL_RUN_LAST,
|
||||||
@ -201,8 +193,7 @@ meta_surface_actor_update_area (MetaSurfaceActor *self,
|
|||||||
{
|
{
|
||||||
MetaSurfaceActorPrivate *priv = self->priv;
|
MetaSurfaceActorPrivate *priv = self->priv;
|
||||||
|
|
||||||
if (meta_shaped_texture_update_area (priv->texture, x, y, width, height))
|
meta_shaped_texture_update_area (priv->texture, x, y, width, height);
|
||||||
g_signal_emit (self, signals[REPAINT_SCHEDULED], 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user