[totem] backend: name clutter actors so that plugins can query them



commit 67ab568f6ca558634fa13b8fa7eb4aa6d4fe8fdf
Author: Simon Wenner <simon wenner ch>
Date:   Tue Jul 5 00:26:53 2011 +0200

    backend: name clutter actors so that plugins can query them
    
    https://bugzilla.gnome.org/show_bug.cgi?id=589399

 src/backend/bacon-video-widget-gst-0.10.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index e616cc3..2f246f2 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -6061,6 +6061,7 @@ bacon_video_widget_new (GError ** error)
 
   /* The logo */
   bvw->priv->logo_frame = totem_aspect_frame_new ();
+  clutter_actor_set_name (bvw->priv->logo_frame, "logo-frame");
   bvw->priv->logo = clutter_texture_new ();
   mx_bin_set_child (MX_BIN (bvw->priv->logo_frame), bvw->priv->logo);
   clutter_container_add_actor (CLUTTER_CONTAINER (bvw->priv->stage), bvw->priv->logo_frame);
@@ -6073,6 +6074,7 @@ bacon_video_widget_new (GError ** error)
 
   /* The video */
   bvw->priv->frame = totem_aspect_frame_new ();
+  clutter_actor_set_name (bvw->priv->frame, "frame");
   mx_bin_set_child (MX_BIN (bvw->priv->frame), bvw->priv->texture);
 
   clutter_container_add_actor (CLUTTER_CONTAINER (bvw->priv->stage), bvw->priv->frame);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]