* clutter/clutter-actor.c (clutter_actor_remove_clip)

(clutter_actor_set_clipu): Queue a redraw when the clip is
	changed.
This commit is contained in:
Neil Roberts 2008-07-25 11:29:12 +00:00
parent 7c8fdee369
commit 0d700d7abb
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-07-25 Neil Roberts <neil@o-hand.com>
* clutter/clutter-actor.c (clutter_actor_remove_clip)
(clutter_actor_set_clipu): Queue a redraw when the clip is
changed.
2008-07-24 Neil Roberts <neil@o-hand.com> 2008-07-24 Neil Roberts <neil@o-hand.com>
* clutter/clutter-script.c: The example in the documentation * clutter/clutter-script.c: The example in the documentation

View File

@ -5424,6 +5424,8 @@ clutter_actor_set_clipu (ClutterActor *self,
priv->has_clip = TRUE; priv->has_clip = TRUE;
clutter_actor_queue_redraw (self);
g_object_notify (G_OBJECT (self), "has-clip"); g_object_notify (G_OBJECT (self), "has-clip");
g_object_notify (G_OBJECT (self), "clip"); g_object_notify (G_OBJECT (self), "clip");
} }
@ -5469,6 +5471,8 @@ clutter_actor_remove_clip (ClutterActor *self)
self->priv->has_clip = FALSE; self->priv->has_clip = FALSE;
clutter_actor_queue_redraw (self);
g_object_notify (G_OBJECT (self), "has-clip"); g_object_notify (G_OBJECT (self), "has-clip");
} }