mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
clutter/main: Remove clutter_get_actor_by_gid
It's unused and doesn't return anything useful these days. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1332
This commit is contained in:
parent
387a13f0ab
commit
82b710688b
@ -2156,27 +2156,6 @@ _clutter_process_event (ClutterEvent *event)
|
|||||||
context->current_event = g_slist_delete_link (context->current_event, context->current_event);
|
context->current_event = g_slist_delete_link (context->current_event, context->current_event);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* clutter_get_actor_by_gid:
|
|
||||||
* @id_: a #ClutterActor unique id.
|
|
||||||
*
|
|
||||||
* Retrieves the #ClutterActor with @id_.
|
|
||||||
*
|
|
||||||
* Return value: (transfer none): the actor with the passed id or %NULL.
|
|
||||||
* The returned actor does not have its reference count increased.
|
|
||||||
*
|
|
||||||
* Since: 0.6
|
|
||||||
*
|
|
||||||
* Deprecated: 1.8: The id is deprecated, and this function always returns
|
|
||||||
* %NULL. Use the proper scene graph API in #ClutterActor to find a child
|
|
||||||
* of the stage.
|
|
||||||
*/
|
|
||||||
ClutterActor *
|
|
||||||
clutter_get_actor_by_gid (guint32 id_)
|
|
||||||
{
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
clutter_base_init (void)
|
clutter_base_init (void)
|
||||||
{
|
{
|
||||||
|
@ -33,9 +33,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
CLUTTER_DEPRECATED
|
|
||||||
ClutterActor * clutter_get_actor_by_gid (guint32 id_);
|
|
||||||
|
|
||||||
CLUTTER_DEPRECATED_FOR(clutter_actor_add_child)
|
CLUTTER_DEPRECATED_FOR(clutter_actor_add_child)
|
||||||
void clutter_actor_set_parent (ClutterActor *self,
|
void clutter_actor_set_parent (ClutterActor *self,
|
||||||
ClutterActor *parent);
|
ClutterActor *parent);
|
||||||
|
Loading…
Reference in New Issue
Block a user