mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Bug 554745 - GFileAttributeInfoList should be boxed
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
This commit is contained in:
parent
6a19b99a9d
commit
b383c8f08f
@ -1,3 +1,11 @@
|
|||||||
|
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>
|
2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
|
||||||
|
|
||||||
Bug 554970 – segfault when update-desktop-database is not available
|
Bug 554970 – segfault when update-desktop-database is not available
|
||||||
|
@ -326,6 +326,18 @@ _g_file_attribute_value_dup (const GFileAttributeValue *other)
|
|||||||
return attr;
|
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
|
static gboolean
|
||||||
valid_char (char c)
|
valid_char (char c)
|
||||||
{
|
{
|
||||||
|
@ -60,6 +60,7 @@ struct _GFileAttributeInfoList
|
|||||||
int n_infos;
|
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_new (void);
|
||||||
GFileAttributeInfoList * g_file_attribute_info_list_ref (GFileAttributeInfoList *list);
|
GFileAttributeInfoList * g_file_attribute_info_list_ref (GFileAttributeInfoList *list);
|
||||||
void g_file_attribute_info_list_unref (GFileAttributeInfoList *list);
|
void g_file_attribute_info_list_unref (GFileAttributeInfoList *list);
|
||||||
|
Loading…
Reference in New Issue
Block a user