From 6b326b14c00e7b030e8f09aac94637250e506df1 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 29 Nov 2017 09:37:50 +0100 Subject: gdk: Add GDK_TYPE_FILE_LIST with serializers This is a GSList of GFile and we want it so we can operate with lists of files and text/uri-list. I chose GSList over GList because that's what the GtkFileChooser API uses, too. --- gdk/gdkcontentformats.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdk/gdkcontentformats.h') diff --git a/gdk/gdkcontentformats.h b/gdk/gdkcontentformats.h index 1e5f7147bb..58bbb103fd 100644 --- a/gdk/gdkcontentformats.h +++ b/gdk/gdkcontentformats.h @@ -93,6 +93,12 @@ GDK_AVAILABLE_IN_3_94 void gdk_content_formats_builder_add_gtype (GdkContentFormatsBuilder *builder, GType type); +/* dunno where else to put this */ +#define GDK_TYPE_FILE_LIST (gdk_file_list_get_type ()) +GDK_AVAILABLE_IN_3_94 +GType gdk_file_list_get_type (void) G_GNUC_CONST; + + G_END_DECLS #endif /* __GTK_CONTENT_FORMATS_H__ */ -- cgit v1.2.1