2008-10-06 Colin Walters <walters@verbum.org>
Bug 554745 - GFileAttributeInfoList should be boxed
* gio/gfileattribute.c: Define a boxed type for GFileAttributeList
for convenience of bindings.
* gio/gfileattribute.h: Prototype it.
svn path=/trunk/; revision=7573
+2008-10-06 Colin Walters <walters@verbum.org>
+
+ Bug 554745 - GFileAttributeInfoList should be boxed
+
+ * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
+ for convenience of bindings.
+ * gio/gfileattribute.h: Prototype it.
+
2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
Bug 554970 – segfault when update-desktop-database is not available
return attr;
}
+GType
+g_file_attribute_info_list_get_type (void)
+{
+ static GType type_id = 0;
+
+ if (!type_id)
+ type_id = g_boxed_type_register_static (g_intern_static_string ("GFileAttributeInfoList"),
+ (GBoxedCopyFunc) g_file_attribute_info_list_dup,
+ (GBoxedFreeFunc) g_file_attribute_info_list_unref);
+ return type_id;
+}
+
static gboolean
valid_char (char c)
{
int n_infos;
};
+GType g_file_attribute_info_list_get_type (void);
GFileAttributeInfoList * g_file_attribute_info_list_new (void);
GFileAttributeInfoList * g_file_attribute_info_list_ref (GFileAttributeInfoList *list);
void g_file_attribute_info_list_unref (GFileAttributeInfoList *list);