Remove this in favour of gi18n-lib.h from glib
[platform/upstream/atk.git] / atk / atkstate.c
index 7483b98..581b641 100755 (executable)
  * Boston, MA 02111-1307, USA.
  */
 
-#include "atkstate.h"
-#include "atk-enum-types.h"
+#include "atk.h"
 
 #include <string.h>
 
+/**
+ * SECTION:atkstate
+ * @Short_description: An AtkState describes a component's particular state.
+ * @Title:AtkState
+ *
+ * An AtkState describes a component's particular state. The actual
+ * state of an component is described by its AtkStateSet, which is a
+ * set of AtkStates.
+ */
+
 static guint last_type = ATK_STATE_LAST_DEFINED;
 
 #define NUM_POSSIBLE_STATES               (sizeof(AtkState)*8)
@@ -57,7 +66,7 @@ atk_state_type_register (const gchar *name)
  *
  * Returns: the string describing the AtkStateType
  */
-G_CONST_RETURN gchar*
+const gchar*
 atk_state_type_get_name (AtkStateType type)
 {
   GTypeClass *type_class;