[prevent][38655] Fix for unchecked return value
[platform/upstream/at-spi2-core.git] / atspi / atspi-stateset.h
index 948b3ee..f6fd32f 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * AT-SPI - Assistive Technology Service Provider Interface
+ * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
+ *
+ * Copyright 2001, 2002 Sun Microsystems Inc.,
+ * Copyright 2001, 2002 Ximian, Inc.
+ * Copyright 2010, 2011 Novell, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
 #ifndef _ATSPI_STATE_SET_H_
 #define _ATSPI_STATE_SET_H_
 
@@ -8,6 +32,8 @@
 #define ATSPI_IS_STATE_SET_CLASS(klass)             (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_STATE_SET))
 #define ATSPI_STATE_SET_GET_CLASS(obj)              (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_STATE_SET, AtspiStateSetClass))
 
+G_BEGIN_DECLS
+
 typedef struct _AtspiStateSet AtspiStateSet;
 struct _AtspiStateSet
 {
@@ -44,4 +70,6 @@ void atspi_state_set_remove (AtspiStateSet *set, AtspiStateType state);
 
 AtspiStateSet * _atspi_state_set_new_internal (struct _AtspiAccessible *accessible, gint64 states);
 
+G_END_DECLS
+
 #endif /* _ATSPI_STATE_SET_H_ */