[St] Remove _st_actor_contains()

The function has been upstreamed as clutter_actor_contains() - with
the switch to clutter-1.4 it is now available to the Shell, so it
is no longer necessary to keep a copy in-tree.

https://bugzilla.gnome.org/show_bug.cgi?id=626512
This commit is contained in:
Florian Müllner
2010-08-10 10:52:18 +02:00
parent 3fb7cce80f
commit 766b5b801c
5 changed files with 10 additions and 19 deletions

View File

@@ -121,7 +121,7 @@ st_clickable_button_press_event (ClutterActor *actor,
if (self->priv->held)
return TRUE;
if (!_st_actor_contains (actor, event->source))
if (!clutter_actor_contains (actor, event->source))
return FALSE;
self->priv->held = TRUE;
@@ -148,7 +148,7 @@ st_clickable_button_release_event (ClutterActor *actor,
self->priv->held = FALSE;
clutter_ungrab_pointer ();
if (!_st_actor_contains (actor, event->source))
if (!clutter_actor_contains (actor, event->source))
return FALSE;
set_pressed (self, FALSE);