container: s/get_priorty_range/get_priority_range/
authorThibault Saunier <thibault.saunier@collabora.com>
Sat, 30 Mar 2013 11:30:47 +0000 (12:30 +0100)
committerThibault Saunier <thibault.saunier@collabora.com>
Sat, 30 Mar 2013 11:31:50 +0000 (12:31 +0100)
ges/ges-clip.c
ges/ges-container.c
ges/ges-container.h

index d4358d3..0ddbdac 100644 (file)
@@ -113,7 +113,7 @@ _compute_height (GESContainer * container)
 }
 
 static void
-_get_priorty_range (GESContainer * container, guint32 * min_priority,
+_get_priority_range (GESContainer * container, guint32 * min_priority,
     guint32 * max_priority)
 {
   GESTimelineLayer *layer = GES_CLIP (container)->priv->layer;
@@ -143,7 +143,7 @@ _add_child (GESContainer * container, GESTimelineElement * element)
    *    which are not BaseEffect on top of them
    * FIXME: Let the full control over priorities to the user
    */
-  _get_priorty_range (container, &min_prio, &max_prio);
+  _get_priority_range (container, &min_prio, &max_prio);
   if (GES_IS_BASE_EFFECT (element)) {
 
     GST_DEBUG_OBJECT (container, "Adding %ith effect: %" GST_PTR_FORMAT
@@ -490,7 +490,7 @@ ges_clip_class_init (GESClipClass * klass)
   element_class->trim = _trim;
   /* TODO implement the deep_copy Virtual method */
 
-  container_class->get_priorty_range = _get_priorty_range;
+  container_class->get_priority_range = _get_priority_range;
   container_class->compute_height = _compute_height;
   container_class->add_child = _add_child;
   container_class->remove_child = _remove_child;
@@ -583,7 +583,7 @@ ges_clip_create_track_elements (GESClip * clip, GESTrackType type)
       ges_track_type_name (type));
   result = klass->create_track_elements (clip, type);
 
-  _get_priorty_range (GES_CONTAINER (clip), &min_prio, &max_prio);
+  _get_priority_range (GES_CONTAINER (clip), &min_prio, &max_prio);
   for (tmp = result; tmp; tmp = tmp->next) {
     GESTimelineElement *elem = tmp->data;
 
@@ -874,7 +874,7 @@ ges_clip_get_top_effect_position (GESClip * clip, GESBaseEffect * effect)
   g_return_val_if_fail (GES_IS_CLIP (clip), -1);
   g_return_val_if_fail (GES_IS_BASE_EFFECT (effect), -1);
 
-  _get_priorty_range (GES_CONTAINER (clip), &min_prio, &max_prio);
+  _get_priority_range (GES_CONTAINER (clip), &min_prio, &max_prio);
 
   return GES_TIMELINE_ELEMENT_PRIORITY (effect) - min_prio +
       GES_TIMELINE_ELEMENT_PRIORITY (clip);
index 0cd674a..6901372 100644 (file)
@@ -266,7 +266,7 @@ _set_priority (GESTimelineElement * element, guint32 priority)
 
   priv = container->priv;
 
-  GES_CONTAINER_GET_CLASS (element)->get_priorty_range (container, &min_prio,
+  GES_CONTAINER_GET_CLASS (element)->get_priority_range (container, &min_prio,
       &max_prio);
 
   priv->children_control_mode = GES_CHILDREN_IGNORE_NOTIFIES;
@@ -503,7 +503,7 @@ _child_priority_changed_cb (GESTimelineElement * child,
   map = g_hash_table_lookup (priv->mappings, child);
   g_assert (map);
 
-  GES_CONTAINER_GET_CLASS (container)->get_priorty_range (container, &min_prio,
+  GES_CONTAINER_GET_CLASS (container)->get_priority_range (container, &min_prio,
       &max_prio);
 
   map->priority_offset = min_prio + _PRIORITY (container) - _PRIORITY (child);
@@ -583,7 +583,7 @@ ges_container_add (GESContainer * container, GESTimelineElement * child)
   mapping->start_offset = _START (container) - _START (child);
   mapping->duration_offset = _DURATION (container) - _DURATION (child);
   mapping->inpoint_offset = _INPOINT (container) - _INPOINT (child);
-  GES_CONTAINER_GET_CLASS (container)->get_priorty_range (container,
+  GES_CONTAINER_GET_CLASS (container)->get_priority_range (container,
       &min_prio, &max_prio);
   mapping->priority_offset =
       min_prio + _PRIORITY (container) - _PRIORITY (child);
index 86ac355..34712c2 100644 (file)
@@ -96,7 +96,7 @@ struct _GESContainer
  * @child_removed: Virtual method that is called right after a #GESTimelineElement is removed
  * @remove_child: Virtual method to remove a child
  * @add_child: Virtual method to add a child
- * @get_priorty_range: Returns the range of possible priority in which the children can be in.
+ * @get_priority_range: Returns the range of possible priority in which the children can be in.
  * @ungroup: Ungroups the #GESTimelineElement contained in this #GESContainer, creating new
  * @group: Groups the #GESContainers together
  * #GESContainer containing those #GESTimelineElement apropriately.
@@ -113,7 +113,7 @@ struct _GESContainerClass
   void (*child_removed)           (GESContainer *container, GESTimelineElement *element);
   gboolean (*add_child)           (GESContainer *container, GESTimelineElement *element);
   gboolean (*remove_child)        (GESContainer *container, GESTimelineElement *element);
-  void (*get_priorty_range)       (GESContainer *container, guint32 *min_prio, guint32 *max_prio);
+  void (*get_priority_range)      (GESContainer *container, guint32 *min_prio, guint32 *max_prio);
   GList* (*ungroup)               (GESContainer *container, gboolean recursive);
   GESContainer * (*group)         (GList *containers);
   guint32 (*compute_height)       (GESContainer *container);