mirror of
https://github.com/brl/mutter.git
synced 2025-04-12 21:29:38 +00:00
Use new introspection annotation syntax
Instead of the deprecated one.
This commit is contained in:
parent
270918d5c9
commit
c337100c14
@ -1099,7 +1099,7 @@ cally_actor_add_action (CallyActor *cally_actor,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cally_actor_add_action_full:
|
* cally_actor_add_action_full: (rename-to cally_actor_add_action)
|
||||||
* @cally_actor: a #CallyActor
|
* @cally_actor: a #CallyActor
|
||||||
* @action_name: the action name
|
* @action_name: the action name
|
||||||
* @action_description: the action description
|
* @action_description: the action description
|
||||||
@ -1112,8 +1112,6 @@ cally_actor_add_action (CallyActor *cally_actor,
|
|||||||
*
|
*
|
||||||
* Return value: added action id, or -1 if failure
|
* Return value: added action id, or -1 if failure
|
||||||
*
|
*
|
||||||
* Rename to: cally_actor_add_action
|
|
||||||
*
|
|
||||||
* Since: 1.6
|
* Since: 1.6
|
||||||
*/
|
*/
|
||||||
guint
|
guint
|
||||||
|
@ -393,7 +393,7 @@ clutter_container_add (ClutterContainer *container,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_container_add_actor:
|
* clutter_container_add_actor: (virtual add)
|
||||||
* @container: a #ClutterContainer
|
* @container: a #ClutterContainer
|
||||||
* @actor: the first #ClutterActor to add
|
* @actor: the first #ClutterActor to add
|
||||||
*
|
*
|
||||||
@ -406,8 +406,6 @@ clutter_container_add (ClutterContainer *container,
|
|||||||
* deprecated virtual function. The default implementation will
|
* deprecated virtual function. The default implementation will
|
||||||
* call clutter_actor_add_child().
|
* call clutter_actor_add_child().
|
||||||
*
|
*
|
||||||
* Virtual: add
|
|
||||||
*
|
|
||||||
* Since: 0.4
|
* Since: 0.4
|
||||||
*
|
*
|
||||||
* Deprecated: 1.10: Use clutter_actor_add_child() instead.
|
* Deprecated: 1.10: Use clutter_actor_add_child() instead.
|
||||||
@ -485,7 +483,7 @@ clutter_container_remove (ClutterContainer *container,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_container_remove_actor:
|
* clutter_container_remove_actor: (virtual remove)
|
||||||
* @container: a #ClutterContainer
|
* @container: a #ClutterContainer
|
||||||
* @actor: a #ClutterActor
|
* @actor: a #ClutterActor
|
||||||
*
|
*
|
||||||
@ -498,8 +496,6 @@ clutter_container_remove (ClutterContainer *container,
|
|||||||
* deprecated virtual function. The default implementation will call
|
* deprecated virtual function. The default implementation will call
|
||||||
* clutter_actor_remove_child().
|
* clutter_actor_remove_child().
|
||||||
*
|
*
|
||||||
* Virtual: remove
|
|
||||||
*
|
|
||||||
* Since: 0.4
|
* Since: 0.4
|
||||||
*
|
*
|
||||||
* Deprecated: 1.10: Use clutter_actor_remove_child() instead.
|
* Deprecated: 1.10: Use clutter_actor_remove_child() instead.
|
||||||
@ -672,7 +668,7 @@ clutter_container_foreach_with_internals (ClutterContainer *container,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_container_raise_child:
|
* clutter_container_raise_child: (virtual raise)
|
||||||
* @container: a #ClutterContainer
|
* @container: a #ClutterContainer
|
||||||
* @actor: the actor to raise
|
* @actor: the actor to raise
|
||||||
* @sibling: (allow-none): the sibling to raise to, or %NULL to raise
|
* @sibling: (allow-none): the sibling to raise to, or %NULL to raise
|
||||||
@ -684,8 +680,6 @@ clutter_container_foreach_with_internals (ClutterContainer *container,
|
|||||||
* which has been deprecated. The default implementation will call
|
* which has been deprecated. The default implementation will call
|
||||||
* clutter_actor_set_child_above_sibling().
|
* clutter_actor_set_child_above_sibling().
|
||||||
*
|
*
|
||||||
* Virtual: raise
|
|
||||||
*
|
|
||||||
* Since: 0.6
|
* Since: 0.6
|
||||||
*
|
*
|
||||||
* Deprecated: 1.10: Use clutter_actor_set_child_above_sibling() instead.
|
* Deprecated: 1.10: Use clutter_actor_set_child_above_sibling() instead.
|
||||||
@ -743,7 +737,7 @@ clutter_container_raise_child (ClutterContainer *container,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_container_lower_child:
|
* clutter_container_lower_child: (virtual lower)
|
||||||
* @container: a #ClutterContainer
|
* @container: a #ClutterContainer
|
||||||
* @actor: the actor to raise
|
* @actor: the actor to raise
|
||||||
* @sibling: (allow-none): the sibling to lower to, or %NULL to lower
|
* @sibling: (allow-none): the sibling to lower to, or %NULL to lower
|
||||||
@ -755,8 +749,6 @@ clutter_container_raise_child (ClutterContainer *container,
|
|||||||
* which has been deprecated. The default implementation will call
|
* which has been deprecated. The default implementation will call
|
||||||
* clutter_actor_set_child_below_sibling().
|
* clutter_actor_set_child_below_sibling().
|
||||||
*
|
*
|
||||||
* Virtual: lower
|
|
||||||
*
|
|
||||||
* Since: 0.6
|
* Since: 0.6
|
||||||
*
|
*
|
||||||
* Deprecated: 1.10: Use clutter_actor_set_child_below_sibling() instead.
|
* Deprecated: 1.10: Use clutter_actor_set_child_below_sibling() instead.
|
||||||
|
@ -885,15 +885,13 @@ clutter_interval_get_value_type (ClutterInterval *interval)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_interval_set_initial_value:
|
* clutter_interval_set_initial_value: (rename-to clutter_interval_set_initial)
|
||||||
* @interval: a #ClutterInterval
|
* @interval: a #ClutterInterval
|
||||||
* @value: a #GValue
|
* @value: a #GValue
|
||||||
*
|
*
|
||||||
* Sets the initial value of @interval to @value. The value is copied
|
* Sets the initial value of @interval to @value. The value is copied
|
||||||
* inside the #ClutterInterval.
|
* inside the #ClutterInterval.
|
||||||
*
|
*
|
||||||
* Rename to: clutter_interval_set_initial
|
|
||||||
*
|
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
@ -977,15 +975,13 @@ clutter_interval_peek_initial_value (ClutterInterval *interval)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_interval_set_final_value:
|
* clutter_interval_set_final_value: (rename-to clutter_interval_set_final)
|
||||||
* @interval: a #ClutterInterval
|
* @interval: a #ClutterInterval
|
||||||
* @value: a #GValue
|
* @value: a #GValue
|
||||||
*
|
*
|
||||||
* Sets the final value of @interval to @value. The value is
|
* Sets the final value of @interval to @value. The value is
|
||||||
* copied inside the #ClutterInterval.
|
* copied inside the #ClutterInterval.
|
||||||
*
|
*
|
||||||
* Rename to: clutter_interval_set_final
|
|
||||||
*
|
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
@ -953,7 +953,7 @@ _clutter_threads_dispatch_free (gpointer data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_threads_add_idle_full:
|
* clutter_threads_add_idle_full: (rename-to clutter_threads_add_idle)
|
||||||
* @priority: the priority of the timeout source. Typically this will be in the
|
* @priority: the priority of the timeout source. Typically this will be in the
|
||||||
* range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE
|
* range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE
|
||||||
* @func: function to call
|
* @func: function to call
|
||||||
@ -1041,8 +1041,6 @@ _clutter_threads_dispatch_free (gpointer data)
|
|||||||
* NULL);
|
* NULL);
|
||||||
* ]|
|
* ]|
|
||||||
*
|
*
|
||||||
* Rename to: clutter_threads_add_idle
|
|
||||||
*
|
|
||||||
* Return value: the ID (greater than 0) of the event source.
|
* Return value: the ID (greater than 0) of the event source.
|
||||||
*
|
*
|
||||||
* Since: 0.4
|
* Since: 0.4
|
||||||
@ -1091,7 +1089,7 @@ clutter_threads_add_idle (GSourceFunc func,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_threads_add_timeout_full:
|
* clutter_threads_add_timeout_full: (rename-to clutter_threads_add_timeout)
|
||||||
* @priority: the priority of the timeout source. Typically this will be in the
|
* @priority: the priority of the timeout source. Typically this will be in the
|
||||||
* range between #G_PRIORITY_DEFAULT and #G_PRIORITY_HIGH.
|
* range between #G_PRIORITY_DEFAULT and #G_PRIORITY_HIGH.
|
||||||
* @interval: the time between calls to the function, in milliseconds
|
* @interval: the time between calls to the function, in milliseconds
|
||||||
@ -1113,8 +1111,6 @@ clutter_threads_add_idle (GSourceFunc func,
|
|||||||
*
|
*
|
||||||
* See also clutter_threads_add_idle_full().
|
* See also clutter_threads_add_idle_full().
|
||||||
*
|
*
|
||||||
* Rename to: clutter_threads_add_timeout
|
|
||||||
*
|
|
||||||
* Return value: the ID (greater than 0) of the event source.
|
* Return value: the ID (greater than 0) of the event source.
|
||||||
*
|
*
|
||||||
* Since: 0.4
|
* Since: 0.4
|
||||||
|
@ -42,16 +42,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterPaintNode:
|
* ClutterPaintNode: (ref-func clutter_paint_node_ref) (unref-func clutter_paint_node_unref) (set-value-func clutter_value_set_paint_node) (get-value-func clutter_value_get_paint_node)
|
||||||
*
|
*
|
||||||
* The <structname>ClutterPaintNode</structname> structure contains only
|
* The <structname>ClutterPaintNode</structname> structure contains only
|
||||||
* private data and it should be accessed using the provided API.
|
* private data and it should be accessed using the provided API.
|
||||||
*
|
*
|
||||||
* Ref Func: clutter_paint_node_ref
|
|
||||||
* Unref Func: clutter_paint_node_unref
|
|
||||||
* Set Value Func: clutter_value_set_paint_node
|
|
||||||
* Get Value Func: clutter_value_get_paint_node
|
|
||||||
*
|
|
||||||
* Since: 1.10
|
* Since: 1.10
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -509,7 +509,7 @@ clutter_transition_set_value (ClutterTransition *transition,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_transition_set_from_value:
|
* clutter_transition_set_from_value: (rename-to clutter_transition_set_from)
|
||||||
* @transition: a #ClutterTransition
|
* @transition: a #ClutterTransition
|
||||||
* @value: a #GValue with the initial value of the transition
|
* @value: a #GValue with the initial value of the transition
|
||||||
*
|
*
|
||||||
@ -528,8 +528,6 @@ clutter_transition_set_value (ClutterTransition *transition,
|
|||||||
*
|
*
|
||||||
* This function is meant to be used by language bindings.
|
* This function is meant to be used by language bindings.
|
||||||
*
|
*
|
||||||
* Rename to: clutter_transition_set_from
|
|
||||||
*
|
|
||||||
* Since: 1.12
|
* Since: 1.12
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
@ -545,7 +543,7 @@ clutter_transition_set_from_value (ClutterTransition *transition,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_transition_set_to_value:
|
* clutter_transition_set_to_value: (rename-to clutter_transition_set_to)
|
||||||
* @transition: a #ClutterTransition
|
* @transition: a #ClutterTransition
|
||||||
* @value: a #GValue with the final value of the transition
|
* @value: a #GValue with the final value of the transition
|
||||||
*
|
*
|
||||||
@ -564,8 +562,6 @@ clutter_transition_set_from_value (ClutterTransition *transition,
|
|||||||
*
|
*
|
||||||
* This function is meant to be used by language bindings.
|
* This function is meant to be used by language bindings.
|
||||||
*
|
*
|
||||||
* Rename to: clutter_transition_set_to
|
|
||||||
*
|
|
||||||
* Since: 1.12
|
* Since: 1.12
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
@ -915,7 +915,7 @@ clutter_alpha_register_func (ClutterAlphaFunc func,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_alpha_register_closure:
|
* clutter_alpha_register_closure: (rename-to clutter_alpha_register_func)
|
||||||
* @closure: a #GClosure
|
* @closure: a #GClosure
|
||||||
*
|
*
|
||||||
* #GClosure variant of clutter_alpha_register_func().
|
* #GClosure variant of clutter_alpha_register_func().
|
||||||
@ -925,8 +925,6 @@ clutter_alpha_register_func (ClutterAlphaFunc func,
|
|||||||
*
|
*
|
||||||
* The logical id is always greater than %CLUTTER_ANIMATION_LAST.
|
* The logical id is always greater than %CLUTTER_ANIMATION_LAST.
|
||||||
*
|
*
|
||||||
* Rename to: clutter_alpha_register_func
|
|
||||||
*
|
|
||||||
* Return value: the logical id of the alpha function
|
* Return value: the logical id of the alpha function
|
||||||
*
|
*
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
|
@ -60,7 +60,7 @@ static GSourceFuncs clutter_frame_source_funcs =
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_frame_source_add_full:
|
* clutter_frame_source_add_full: (rename-to clutter_frame_source_add)
|
||||||
* @priority: the priority of the frame source. Typically this will be in the
|
* @priority: the priority of the frame source. Typically this will be in the
|
||||||
* range between %G_PRIORITY_DEFAULT and %G_PRIORITY_HIGH.
|
* range between %G_PRIORITY_DEFAULT and %G_PRIORITY_HIGH.
|
||||||
* @fps: the number of times per second to call the function
|
* @fps: the number of times per second to call the function
|
||||||
@ -85,8 +85,6 @@ static GSourceFuncs clutter_frame_source_funcs =
|
|||||||
* multiple times to catch up missing frames if @func takes more than
|
* multiple times to catch up missing frames if @func takes more than
|
||||||
* @interval ms to execute.
|
* @interval ms to execute.
|
||||||
*
|
*
|
||||||
* Rename to: clutter_frame_source_add
|
|
||||||
*
|
|
||||||
* Return value: the ID (greater than 0) of the event source.
|
* Return value: the ID (greater than 0) of the event source.
|
||||||
*
|
*
|
||||||
* Since: 0.8
|
* Since: 0.8
|
||||||
@ -183,7 +181,7 @@ clutter_frame_source_dispatch (GSource *source,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_threads_add_frame_source_full:
|
* clutter_threads_add_frame_source_full: (rename-to clutter_threads_add_frame_source)
|
||||||
* @priority: the priority of the frame source. Typically this will be in the
|
* @priority: the priority of the frame source. Typically this will be in the
|
||||||
* range between %G_PRIORITY_DEFAULT and %G_PRIORITY_HIGH.
|
* range between %G_PRIORITY_DEFAULT and %G_PRIORITY_HIGH.
|
||||||
* @fps: the number of times per second to call the function
|
* @fps: the number of times per second to call the function
|
||||||
@ -209,8 +207,6 @@ clutter_frame_source_dispatch (GSource *source,
|
|||||||
*
|
*
|
||||||
* See also clutter_threads_add_idle_full().
|
* See also clutter_threads_add_idle_full().
|
||||||
*
|
*
|
||||||
* Rename to: clutter_threads_add_frame_source
|
|
||||||
*
|
|
||||||
* Return value: the ID (greater than 0) of the event source.
|
* Return value: the ID (greater than 0) of the event source.
|
||||||
*
|
*
|
||||||
* Since: 0.8
|
* Since: 0.8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user