summaryrefslogtreecommitdiff
path: root/atspi/atspi-stateset.c
diff options
context:
space:
mode:
authorJavier Hernández <jhernandez@emergya.com>2012-09-04 03:58:34 +0200
committerJavier Hernández <jhernandez@emergya.com>2012-09-04 18:49:58 +0200
commitbbb28bfb926d095e336bb532a9543ad07d2c6649 (patch)
tree0eeec393d12991a4694294b6317285be86bcf7b4 /atspi/atspi-stateset.c
parent1859e01b00866830d027aed1b8acc2496aa228c1 (diff)
downloadat-spi2-core-bbb28bfb926d095e336bb532a9543ad07d2c6649.tar.gz
Fix some annotations compilation warnings
Diffstat (limited to 'atspi/atspi-stateset.c')
-rw-r--r--atspi/atspi-stateset.c30
1 files changed, 7 insertions, 23 deletions
diff --git a/atspi/atspi-stateset.c b/atspi/atspi-stateset.c
index b5619e89..fd6fc0cd 100644
--- a/atspi/atspi-stateset.c
+++ b/atspi/atspi-stateset.c
@@ -87,9 +87,8 @@ atspi_state_set_class_init (AtspiStateSetClass* klass)
/**
* atspi_state_set_new:
- *
* @states: (element-type AtspiStateType): An array of states with which the
- * method initializes the state set.
+ * method initializes the state set.
*
* Generates an #AtspiStateSet with the given @states.
*
@@ -124,13 +123,10 @@ _atspi_state_set_new_internal (AtspiAccessible *accessible, gint64 states)
/**
* atspi_state_set_set_by_name:
- *
* @set: a pointer to the #AtspiStateSet object on which to operate.
- *
* @name: a string corresponding to a state name.
- *
- * @enabled: if #TRUE, @name should be enabled in the @set in question; otherwise, it
- * should be disabled.
+ * @enabled: if #TRUE, @name should be enabled in the @set in question;
+ * otherwise, it should be disabled.
*
* Enables/disables a state in an #AtspiStateSet according to its @name.
**/
@@ -180,9 +176,7 @@ refresh_states (AtspiStateSet *set)
/**
* atspi_state_set_add:
- *
* @set: a pointer to the #AtspiStateSet object on which to operate.
- *
* @state: an #AtspiStateType to be added to the specified #AtspiStateSet.
*
* Adds a particular #AtspiState to an #AtspiStateSet (i.e. sets the
@@ -198,9 +192,7 @@ atspi_state_set_add (AtspiStateSet *set, AtspiStateType state)
/**
* atspi_state_set_compare:
- *
* @set: a pointer to the first #AtspiStateSet object on which to operate.
- *
* @set2: a pointer to the second #AtspiStateSet object on which to operate.
*
* Determines the differences between two instances of #AtspiStateSet.
@@ -223,14 +215,12 @@ atspi_state_set_compare (AtspiStateSet *set,
/**
* atspi_state_set_contains:
- *
* @set: a pointer to the #AtspiStateSet object on which to operate.
- *
* @state: an #AtspiStateType for which the specified #AtspiStateSet
- * will be queried.
+ * will be queried.
*
* Determines whether a given #AtspiStateSet includes a given state; that is,
- * whether @state is true for the @set in question.
+ * whether @state is true for the @set in question.
*
* Returns: #TRUE if @state is true/included in the given #AtspiStateSet,
* otherwise #FALSE.
@@ -248,14 +238,12 @@ atspi_state_set_contains (AtspiStateSet *set,
/**
* atspi_state_set_equals:
- *
* @set: a pointer to the first #AtspiStateSet object on which to operate.
- *
* @set2: a pointer to the second #AtspiStateSet object on which to operate.
*
* Determines whether two instances of #AtspiStateSet are equivalent (i.e.
- * consist of the same #AtspiStates). Useful for checking multiple
- * state variables at once.
+ * consist of the same #AtspiStates). Useful for checking multiple
+ * state variables at once.
*
* @see #atspi_state_set_compare.
*
@@ -276,7 +264,6 @@ atspi_state_set_equals (AtspiStateSet *set,
/**
* atspi_state_set_get_states:
- *
* @set: The #AtspiStateSet to be queried.
*
* Returns the states in an #AtspiStateSet as an array.
@@ -307,7 +294,6 @@ atspi_state_set_get_states (AtspiStateSet *set)
/**
* atspi_state_set_is_empty:
- *
* @set: The #AtspiStateSet to query.
*
* Returns: #TRUE if the state set contains no states; #FALSE otherwise.
@@ -320,9 +306,7 @@ atspi_state_set_is_empty (AtspiStateSet *set)
/**
* atspi_state_set_remove:
- *
* @set: a pointer to the #AtspiStateSet object on which to operate.
- *
* @state: an #AtspiStateType to remove from the specified @set.
*
* Removes a particular #AtspiState to an #AtspiStateSet (i.e. sets the