diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-04-22 20:10:56 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-04-22 20:10:56 -0400 |
commit | b440cc154669b492b5301e221d85bf6b8586a994 (patch) | |
tree | c4709d2d41c9b5796b71a196ebcfbb4b71860681 /gobject/gboxed.h | |
parent | 4a62a00c4c52634062caaaa1de9c48246f393967 (diff) | |
download | glib-b440cc154669b492b5301e221d85bf6b8586a994.tar.gz glib-b440cc154669b492b5301e221d85bf6b8586a994.tar.bz2 glib-b440cc154669b492b5301e221d85bf6b8586a994.zip |
Add a boxed type for GError
Patch by Sebastian Dröge, bug 614541
Diffstat (limited to 'gobject/gboxed.h')
-rw-r--r-- | gobject/gboxed.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gobject/gboxed.h b/gobject/gboxed.h index 10e293f42..f46728bdf 100644 --- a/gobject/gboxed.h +++ b/gobject/gboxed.h @@ -202,6 +202,14 @@ GType g_boxed_type_register_static (const gchar *name, * Since: 2.24 */ #define G_TYPE_VARIANT (g_variant_get_gtype ()) +/** + * G_TYPE_ERROR: + * + * The #GType for a boxed type holding a #GError. + * + * Since: 2.26 + */ +#define G_TYPE_ERROR (g_error_get_type ()) void g_value_take_boxed (GValue *value, @@ -223,6 +231,7 @@ GType g_ptr_array_get_type (void) G_GNUC_CONST; GType g_variant_type_get_gtype(void) G_GNUC_CONST; GType g_variant_get_gtype (void) G_GNUC_CONST; GType g_regex_get_type (void) G_GNUC_CONST; +GType g_error_get_type (void) G_GNUC_CONST; /** * GStrv: |