Change 'Since:' to 2.28 for action classes

This commit is contained in:
Ryan Lortie 2010-10-11 15:57:09 -04:00
parent 3fe94ca9e9
commit 04b58a3e27
4 changed files with 43 additions and 43 deletions

View File

@ -70,7 +70,7 @@ g_action_default_init (GActionInterface *iface)
* The name of the action. This is mostly meaningful for identifying
* the action once it has been added to a #GActionGroup.
*
* Since: 2.26
* Since: 2.28
**/
g_object_interface_install_property (iface,
g_param_spec_string ("name",
@ -86,7 +86,7 @@ g_action_default_init (GActionInterface *iface)
* The type of the parameter that must be given when activating the
* action.
*
* Since: 2.26
* Since: 2.28
**/
g_object_interface_install_property (iface,
g_param_spec_boxed ("parameter-type",
@ -104,7 +104,7 @@ g_action_default_init (GActionInterface *iface)
* If the action is disabled then calls to g_action_activate() and
* g_action_set_state() have no effect.
*
* Since: 2.26
* Since: 2.28
**/
g_object_interface_install_property (iface,
g_param_spec_boolean ("enabled",
@ -120,7 +120,7 @@ g_action_default_init (GActionInterface *iface)
* The #GVariantType of the state that the action has, or %NULL if the
* action is stateless.
*
* Since: 2.26
* Since: 2.28
**/
g_object_interface_install_property (iface,
g_param_spec_boxed ("state-type",
@ -135,7 +135,7 @@ g_action_default_init (GActionInterface *iface)
*
* The state of the action, or %NULL if the action is stateless.
*
* Since: 2.26
* Since: 2.28
**/
g_object_interface_install_property (iface,
g_param_spec_variant ("state",
@ -164,7 +164,7 @@ g_action_default_init (GActionInterface *iface)
*
* If the @value GVariant is floating, it is consumed.
*
* Since: 2.26
* Since: 2.28
**/
void
g_action_set_state (GAction *action,
@ -201,7 +201,7 @@ g_action_set_state (GAction *action,
*
* Returns: (transfer full): the current state of the action
*
* Since: 2.26
* Since: 2.28
**/
GVariant *
g_action_get_state (GAction *action)
@ -220,7 +220,7 @@ g_action_get_state (GAction *action)
*
* Returns: the name of the action
*
* Since: 2.26
* Since: 2.28
**/
const gchar *
g_action_get_name (GAction *action)
@ -246,7 +246,7 @@ g_action_get_name (GAction *action)
*
* Returns: (allow-none): the parameter type
*
* Since: 2.26
* Since: 2.28
**/
const GVariantType *
g_action_get_parameter_type (GAction *action)
@ -276,7 +276,7 @@ g_action_get_parameter_type (GAction *action)
*
* Returns: (allow-none): the state type, if the action is stateful
*
* Since: 2.26
* Since: 2.28
**/
const GVariantType *
g_action_get_state_type (GAction *action)
@ -312,7 +312,7 @@ g_action_get_state_type (GAction *action)
*
* Returns: (transfer full): the state range hint
*
* Since: 2.26
* Since: 2.28
**/
GVariant *
g_action_get_state_hint (GAction *action)
@ -334,7 +334,7 @@ g_action_get_state_hint (GAction *action)
*
* Returns: whether the action is enabled
*
* Since: 2.26
* Since: 2.28
**/
gboolean
g_action_get_enabled (GAction *action)
@ -356,7 +356,7 @@ g_action_get_enabled (GAction *action)
* the parameter type given at construction time). If the parameter
* type was %NULL then @parameter must also be %NULL.
*
* Since: 2.26
* Since: 2.28
**/
void
g_action_activate (GAction *action,

View File

@ -72,7 +72,7 @@ g_action_group_default_init (GActionGroupInterface *class)
* Signals that a new action was just added to the group. This signal
* is emitted after the action has been added and is now visible.
*
* Since: 2.26
* Since: 2.28
**/
g_action_group_signals[SIGNAL_ACTION_ADDED] =
g_signal_new (I_("action-added"),
@ -93,7 +93,7 @@ g_action_group_default_init (GActionGroupInterface *class)
* This signal is emitted before the action is removed, so the action
* is still visible and can be queried from the signal handler.
*
* Since: 2.26
* Since: 2.28
**/
g_action_group_signals[SIGNAL_ACTION_REMOVED] =
g_signal_new (I_("action-removed"),
@ -114,7 +114,7 @@ g_action_group_default_init (GActionGroupInterface *class)
*
* Signals that the enabled status of the named action has changed.
*
* Since: 2.26
* Since: 2.28
**/
g_action_group_signals[SIGNAL_ACTION_ENABLED_CHANGED] =
g_signal_new (I_("action-enabled-changed"),
@ -136,7 +136,7 @@ g_action_group_default_init (GActionGroupInterface *class)
*
* Signals that the state of the named action has changed.
*
* Since: 2.26
* Since: 2.28
**/
g_action_group_signals[SIGNAL_ACTION_STATE_CHANGED] =
g_signal_new (I_("action-state-changed"),
@ -163,7 +163,7 @@ g_action_group_default_init (GActionGroupInterface *class)
* Returns: (transfer full): a %NULL-terminated array of the names of the
* actions in the groupb
*
* Since: 2.26
* Since: 2.28
**/
gchar **
g_action_group_list_actions (GActionGroup *action_group)
@ -183,7 +183,7 @@ g_action_group_list_actions (GActionGroup *action_group)
*
* Returns: whether the named action exists
*
* Since: 2.26
* Since: 2.28
**/
gboolean
g_action_group_has_action (GActionGroup *action_group,
@ -216,7 +216,7 @@ g_action_group_has_action (GActionGroup *action_group,
*
* Return value: the parameter type
*
* Since: 2.26
* Since: 2.28
**/
const GVariantType *
g_action_group_get_action_parameter_type (GActionGroup *action_group,
@ -251,7 +251,7 @@ g_action_group_get_action_parameter_type (GActionGroup *action_group,
*
* Returns: (transfer full): the state type, if the action is stateful
*
* Since: 2.26
* Since: 2.28
**/
const GVariantType *
g_action_group_get_action_state_type (GActionGroup *action_group,
@ -289,7 +289,7 @@ g_action_group_get_action_state_type (GActionGroup *action_group,
*
* Return value: (transfer full): the state range hint
*
* Since: 2.26
* Since: 2.28
**/
GVariant *
g_action_group_get_action_state_hint (GActionGroup *action_group,
@ -313,7 +313,7 @@ g_action_group_get_action_state_hint (GActionGroup *action_group,
*
* Return value: whether or not the action is currently enabled
*
* Since: 2.26
* Since: 2.28
**/
gboolean
g_action_group_get_action_enabled (GActionGroup *action_group,
@ -341,7 +341,7 @@ g_action_group_get_action_enabled (GActionGroup *action_group,
*
* Return value: (allow-none): the current state of the action
*
* Since: 2.26
* Since: 2.28
**/
GVariant *
g_action_group_get_action_state (GActionGroup *action_group,
@ -371,7 +371,7 @@ g_action_group_get_action_state (GActionGroup *action_group,
*
* If the @value GVariant is floating, it is consumed.
*
* Since: 2.26
* Since: 2.28
**/
void
g_action_group_change_action_state (GActionGroup *action_group,
@ -399,7 +399,7 @@ g_action_group_change_action_state (GActionGroup *action_group,
* parameters then @parameter must be %NULL. See
* g_action_group_get_parameter_type().
*
* Since: 2.26
* Since: 2.28
**/
void
g_action_group_activate_action (GActionGroup *action_group,
@ -422,7 +422,7 @@ g_action_group_activate_action (GActionGroup *action_group,
*
* This function should only be called by #GActionGroup implementations.
*
* Since: 2.26
* Since: 2.28
**/
void
g_action_group_action_added (GActionGroup *action_group,
@ -446,7 +446,7 @@ g_action_group_action_added (GActionGroup *action_group,
*
* This function should only be called by #GActionGroup implementations.
*
* Since: 2.26
* Since: 2.28
**/
void
g_action_group_action_removed (GActionGroup *action_group,
@ -471,7 +471,7 @@ g_action_group_action_removed (GActionGroup *action_group,
*
* This function should only be called by #GActionGroup implementations.
*
* Since: 2.26
* Since: 2.28
**/
void
g_action_group_action_enabled_changed (GActionGroup *action_group,
@ -500,7 +500,7 @@ g_action_group_action_enabled_changed (GActionGroup *action_group,
*
* This function should only be called by #GActionGroup implementations.
*
* Since: 2.26
* Since: 2.28
**/
void
g_action_group_action_state_changed (GActionGroup *action_group,

View File

@ -318,7 +318,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
* @parameter will always be of the expected type. In the event that
* an incorrect type was given, no signal will be emitted.
*
* Since: 2.26
* Since: 2.28
*/
g_simple_action_signals[SIGNAL_ACTIVATE] =
g_signal_new (I_("activate"),
@ -336,7 +336,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
* The name of the action. This is mostly meaningful for identifying
* the action once it has been added to a #GSimpleActionGroup.
*
* Since: 2.26
* Since: 2.28
**/
g_object_class_install_property (object_class, PROP_NAME,
g_param_spec_string ("name",
@ -353,7 +353,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
* The type of the parameter that must be given when activating the
* action.
*
* Since: 2.26
* Since: 2.28
**/
g_object_class_install_property (object_class, PROP_PARAMETER_TYPE,
g_param_spec_boxed ("parameter-type",
@ -372,7 +372,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
* If the action is disabled then calls to g_simple_action_activate() and
* g_simple_action_set_state() have no effect.
*
* Since: 2.26
* Since: 2.28
**/
g_object_class_install_property (object_class, PROP_ENABLED,
g_param_spec_boolean ("enabled",
@ -389,7 +389,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
* The #GVariantType of the state that the action has, or %NULL if the
* action is stateless.
*
* Since: 2.26
* Since: 2.28
**/
g_object_class_install_property (object_class, PROP_STATE_TYPE,
g_param_spec_boxed ("state-type",
@ -404,7 +404,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
*
* The state of the action, or %NULL if the action is stateless.
*
* Since: 2.26
* Since: 2.28
**/
g_object_class_install_property (object_class, PROP_STATE,
g_param_spec_variant ("state",
@ -429,7 +429,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
* An action must be enabled in order to be activated or in order to
* have its state changed from outside callers.
*
* Since: 2.26
* Since: 2.28
**/
void
g_simple_action_set_enabled (GSimpleAction *simple,
@ -456,7 +456,7 @@ g_simple_action_set_enabled (GSimpleAction *simple,
*
* Returns: a new #GSimpleAction
*
* Since: 2.26
* Since: 2.28
**/
GSimpleAction *
g_simple_action_new (const gchar *name,
@ -483,7 +483,7 @@ g_simple_action_new (const gchar *name,
*
* Returns: a new #GSimpleAction
*
* Since: 2.26
* Since: 2.28
**/
GSimpleAction *
g_simple_action_new_stateful (const gchar *name,

View File

@ -269,7 +269,7 @@ g_simple_action_group_iface_init (GActionGroupInterface *iface)
*
* Returns: a new #GSimpleActionGroup
*
* Since: 2.26
* Since: 2.28
**/
GSimpleActionGroup *
g_simple_action_group_new (void)
@ -288,7 +288,7 @@ g_simple_action_group_new (void)
*
* Returns: (transfer none): a #GAction, or %NULL
*
* Since: 2.26
* Since: 2.28
**/
GAction *
g_simple_action_group_lookup (GSimpleActionGroup *simple,
@ -311,7 +311,7 @@ g_simple_action_group_lookup (GSimpleActionGroup *simple,
*
* The action group takes its own reference on @action.
*
* Since: 2.26
* Since: 2.28
**/
void
g_simple_action_group_insert (GSimpleActionGroup *simple,
@ -359,7 +359,7 @@ g_simple_action_group_insert (GSimpleActionGroup *simple,
*
* If no action of this name is in the group then nothing happens.
*
* Since: 2.26
* Since: 2.28
**/
void
g_simple_action_group_remove (GSimpleActionGroup *simple,