X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=atk%2Fatkstate.c;h=5d5bd1752017518ef4252dce869fdcabfad5f7a8;hb=e91d02fcd860bd758e8ec9b85b19a16cdffba2bc;hp=581b64194bd4bfa0abd1e34c4c90474a307e69e1;hpb=b063649bc595926233f83ab73d4ac506dc178198;p=platform%2Fupstream%2Fatk.git diff --git a/atk/atkstate.c b/atk/atkstate.c index 581b641..5d5bd17 100755 --- a/atk/atkstate.c +++ b/atk/atkstate.c @@ -17,18 +17,20 @@ * Boston, MA 02111-1307, USA. */ +#include "config.h" + #include "atk.h" #include /** * SECTION:atkstate - * @Short_description: An AtkState describes a component's particular state. + * @Short_description: An AtkState describes a single state of an object. * @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. + * An AtkState describes a single state of an object. The full set of states + * that apply to an object at a given time are contained in its #AtkStateSet. + * See also #atk_object_ref_state_set and #atk_object_notify_state_change. */ static guint last_type = ATK_STATE_LAST_DEFINED; @@ -91,6 +93,8 @@ atk_state_type_get_name (AtkStateType type) } } + g_type_class_unref (type_class); + return name; }