X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fginitable.h;h=2c8804b1e7000276e204b0e56d097a11b2c732d2;hb=ffe286e647ce9ba9bb8e1631ba3cf0194038f438;hp=5336ad8ad554509cb84d68b3a9844840add149dc;hpb=145cec3c93d5ba0c22d35aaf341b3713cadc0e14;p=platform%2Fupstream%2Fglib.git
diff --git a/gio/ginitable.h b/gio/ginitable.h
index 5336ad8..2c8804b 100644
--- a/gio/ginitable.h
+++ b/gio/ginitable.h
@@ -13,20 +13,18 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser 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.
+ * Public License along with this library; if not, see .
*
* Author: Alexander Larsson
*/
+#ifndef __G_INITABLE_H__
+#define __G_INITABLE_H__
+
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __G_INITABLE_H__
-#define __G_INITABLE_H__
-
#include
G_BEGIN_DECLS
@@ -51,7 +49,8 @@ typedef struct _GInitableIface GInitableIface;
* @g_iface: The parent interface.
* @init: Initializes the object.
*
- * Provides an interface for initializing object such that initialization may fail.
+ * Provides an interface for initializing object such that initialization
+ * may fail.
*
* Since: 2.22
**/
@@ -67,22 +66,27 @@ struct _GInitableIface
};
+GLIB_AVAILABLE_IN_ALL
GType g_initable_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gboolean g_initable_init (GInitable *initable,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gpointer g_initable_new (GType object_type,
GCancellable *cancellable,
GError **error,
const gchar *first_property_name,
...);
+GLIB_AVAILABLE_IN_ALL
gpointer g_initable_newv (GType object_type,
guint n_parameters,
GParameter *parameters,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GObject* g_initable_new_valist (GType object_type,
const gchar *first_property_name,
va_list var_args,