[mutter/gbsneto/clutter-cleanups-part1: 2/19] clutter/main: Remove clutter_get_actor_by_gid
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/clutter-cleanups-part1: 2/19] clutter/main: Remove clutter_get_actor_by_gid
- Date: Fri, 26 Jun 2020 22:37:55 +0000 (UTC)
commit 68cd169411ad3e38cb9a3ee040f5b2bd143b55f4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Jun 26 14:03:40 2020 -0300
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
clutter/clutter/clutter-main.c | 21 ---------------------
clutter/clutter/deprecated/clutter-actor.h | 3 ---
2 files changed, 24 deletions(-)
---
diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c
index 9db0809319..0da859d600 100644
--- a/clutter/clutter/clutter-main.c
+++ b/clutter/clutter/clutter-main.c
@@ -2156,27 +2156,6 @@ _clutter_process_event (ClutterEvent *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
clutter_base_init (void)
{
diff --git a/clutter/clutter/deprecated/clutter-actor.h b/clutter/clutter/deprecated/clutter-actor.h
index de226caebd..6e466d1668 100644
--- a/clutter/clutter/deprecated/clutter-actor.h
+++ b/clutter/clutter/deprecated/clutter-actor.h
@@ -33,9 +33,6 @@
G_BEGIN_DECLS
-CLUTTER_DEPRECATED
-ClutterActor * clutter_get_actor_by_gid (guint32 id_);
-
CLUTTER_DEPRECATED_FOR(clutter_actor_add_child)
void clutter_actor_set_parent (ClutterActor *self,
ClutterActor *parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]