Revision 3258 src/filesel.h

View differences:

filesel.h
23 23
#include <glib.h>
24 24
#include <gtk/gtkfilechooser.h>
25 25

  
26
typedef struct _FileselFileType	FileselFileType;
27

  
28
struct _FileselFileType
29
{
30
	gchar *type;
31
	gchar *ext;
32
};
33

  
26 34
gchar *filesel_select_file	(const gchar		*title,
27 35
				 const gchar		*file,
28 36
				 GtkFileChooserAction	 action);
......
32 40

  
33 41
gchar *filesel_save_as		(const gchar		*file);
34 42
gchar *filesel_save_as_type	(const gchar		*file,
35
				 GSList			*types,
43
				 FileselFileType	*types,
36 44
				 gint			 default_type,
37 45
				 gint			*selected_type);
38 46
gchar *filesel_select_dir	(const gchar		*dir);

Also available in: Unified diff