[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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user