diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-29 09:37:50 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-12-03 05:46:48 +0100 |
commit | 6b326b14c00e7b030e8f09aac94637250e506df1 (patch) | |
tree | 5c31540eab39a4236698f923397871e313eeccf7 /gdk/gdkcontentformats.h | |
parent | 928c98a84efd2c72bc3ff9fe139ad5296091110a (diff) | |
download | gtk+-6b326b14c00e7b030e8f09aac94637250e506df1.tar.gz |
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.
Diffstat (limited to 'gdk/gdkcontentformats.h')
-rw-r--r-- | gdk/gdkcontentformats.h | 6 |
1 files changed, 6 insertions, 0 deletions
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__ */ |