[glib] gio: Add type macros for GFileAttributeInfoList and GFileAttributeMatcher
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio: Add type macros for GFileAttributeInfoList and GFileAttributeMatcher
- Date: Sat, 7 Jul 2012 22:47:32 +0000 (UTC)
commit a511a706de048dcc779eb09d85f3d2e9329d68cd
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date: Mon May 3 20:33:50 2010 +0200
gio: Add type macros for GFileAttributeInfoList and GFileAttributeMatcher
https://bugzilla.gnome.org/show_bug.cgi?id=616892
gio/gfileattribute.h | 4 +++-
gio/gfileinfo.h | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gio/gfileattribute.h b/gio/gfileattribute.h
index 46803fb..445cdd7 100644
--- a/gio/gfileattribute.h
+++ b/gio/gfileattribute.h
@@ -60,7 +60,9 @@ struct _GFileAttributeInfoList
int n_infos;
};
-GType g_file_attribute_info_list_get_type (void);
+#define G_TYPE_FILE_ATTRIBUTE_INFO_LIST (g_file_attribute_info_list_get_type ())
+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);
diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h
index 3c3e18f..7514093 100644
--- a/gio/gfileinfo.h
+++ b/gio/gfileinfo.h
@@ -946,7 +946,9 @@ void g_file_info_set_symlink_target (GFileInfo *info,
void g_file_info_set_sort_order (GFileInfo *info,
gint32 sort_order);
-GType g_file_attribute_matcher_get_type (void) G_GNUC_CONST;
+#define G_TYPE_FILE_ATTRIBUTE_MATCHER (g_file_attribute_matcher_get_type ())
+GType g_file_attribute_matcher_get_type (void) G_GNUC_CONST;
+
GFileAttributeMatcher *g_file_attribute_matcher_new (const char *attributes);
GFileAttributeMatcher *g_file_attribute_matcher_ref (GFileAttributeMatcher *matcher);
void g_file_attribute_matcher_unref (GFileAttributeMatcher *matcher);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]